@@ -19,7 +19,7 @@ function hasPermission (permission, route) {
// return true
// }
- console.log(flag)
+ // console.log(flag)
return flag
}
return true
@@ -228,7 +228,7 @@ export default {
},
// 详情
handleDetail (row) {
- if ($hasPermissions('B_expenseDetail')) {
+ if (this.$hasPermissions('B_expenseDetail')) {
this.itemId = row.id
this.openModal = true