|
|
@@ -457,12 +457,12 @@
|
|
|
async openEdit(type, row) {
|
|
|
const menusList = this.$store.state.user.menus;
|
|
|
let found = false;
|
|
|
- // if (type == 'edit') {
|
|
|
- // const code = await verificationQualityInspector(row.id);
|
|
|
- // if (code == '-1') {
|
|
|
- // return;
|
|
|
- // }
|
|
|
- // }
|
|
|
+ if (type == 'edit') {
|
|
|
+ const code = await verificationQualityInspector(row.id);
|
|
|
+ if (code == '-1') {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ }
|
|
|
for (const item of menusList) {
|
|
|
if (item.children) {
|
|
|
for (const item2 of item.children) {
|