修改前端样式

This commit is contained in:
橙子
2022-05-13 23:08:52 +08:00
parent bce955a1e1
commit 816858f231
6 changed files with 14 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ export default {
},
methods: {
init() {
this.btnEnable = getBtn("user")
this.btnEnable = getBtn("role")
this.axiosUrls = {
get: "/role/GetList",
update: "/role/Update",

View File

@@ -48,7 +48,8 @@
item-text="menuName"
>
<template v-slot:append="{ item }">
<v-btn>权限:{{ item.permissionCode }}</v-btn>
<app-btn v-if="item.menuType==0">路由:{{ item.router }}</app-btn>
<app-btn v-if="item.menuType==1" color="secondary">权限:{{ item.permissionCode }}</app-btn>
</template>
</v-treeview>
</v-card></v-col