fix: 修复工作台-待我审批权限位问题

This commit is contained in:
“huailei000”
2022-03-18 14:50:17 +08:00
committed by Jiangjie.Bai
parent 4db98964dd
commit b5cd17485e

View File

@@ -9,7 +9,7 @@
<el-col :md="16" :xs="24" class="content-left">
<Session />
<Log />
<Ticket v-if="hasValidLicense" />
<Ticket v-if="$hasLicense() && $hasPerm('tickets.view_ticket')" />
</el-col>
<el-col :md="8" :xs="24">
<User />
@@ -41,17 +41,6 @@ export default {
Ticket,
Log,
Session
},
data() {
return {
}
},
computed: {
hasValidLicense() {
return this.$store.getters.hasValidLicense
}
},
methods: {
}
}