chenrui %!s(int64=3) %!d(string=hai) anos
pai
achega
eda09c71f2

+ 1 - 1
src/store/modules/permission.js

@@ -19,7 +19,7 @@ function hasPermission (permission, route) {
     //     return true
     //   }
     // }
-    console.log(flag)
+    // console.log(flag)
     return flag
   }
   return true

+ 1 - 1
src/views/financialManagement/expenseManagement/list.vue

@@ -228,7 +228,7 @@ export default {
     },
     //  详情
     handleDetail (row) {
-      if ($hasPermissions('B_expenseDetail')) {
+      if (this.$hasPermissions('B_expenseDetail')) {
         this.itemId = row.id
         this.openModal = true
       }