master
lion 1 month ago
parent f78d751027
commit fca01c0445

@ -976,7 +976,7 @@ export default {
} catch (err) {} } catch (err) {}
}, },
async destroy(row) { async destroy(row) {
if (row.can_delete || this.$store.state.user.adminId === 1) { if (row.can_delete || this.$store.state.user.adminId === 1 || this.$store.state.user.roles.includes('全局流程监管')) {
try { try {
await destroy({ id: row.id }); await destroy({ id: row.id });
await this.getList(); await this.getList();

Loading…
Cancel
Save