Przeglądaj źródła

Merge branch '03/12permission' of http://git.dayaedu.com/molingzhide/dy-admin-manager into 03/12permission

lex-xin 4 lat temu
rodzic
commit
7a693c510b
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      src/views/main/reminders/index.vue

+ 2 - 1
src/views/main/reminders/index.vue

@@ -64,7 +64,8 @@ export default {
     permission,
     permission,
     handle(item) {
     handle(item) {
       // 添加判断权限
       // 添加判断权限
-      if(errorType[item[0].errorType] && !this.permission(errorType[item[0].errorType].permission)) {
+      console.log(item)
+      if(errorType[item[0]?.errorType] && !this.permission(errorType[item[0]?.errorType]?.permission)) {
         return
         return
       }
       }
       new Searchs().removeByKey('/teamList')
       new Searchs().removeByKey('/teamList')