Merge branch 'sqlsugar-dev' into sqlsugar
This commit is contained in:
@@ -22,7 +22,8 @@ Yi框架-一套与SqlSugar一样爽的.Net6低代码开源框架。
|
||||
适合.Net6学习、Sqlsugar学习 、项目二次开发。
|
||||
集大成者,终究轮子
|
||||
|
||||
Yi框架最新版本标签:`v1.1.5`,具体版本可以查看标签迭代
|
||||
|
||||
Yi框架最新版本标签:`v1.1.6`,具体版本可以查看标签迭代
|
||||
|
||||
(项目与Sqlsugar同步更新,但这作者老杰哥代码天天爆肝到凌晨两点,我们也尽量会跟上他的脚步。更新频繁,所以可watching持续关注。)
|
||||
|
||||
|
||||
Binary file not shown.
@@ -58,9 +58,9 @@
|
||||
</v-icon>
|
||||
</template>
|
||||
<template v-slot:append="{ item }">
|
||||
<v-btn v-show="item.menuType==1" class="mr-2">权限:{{ item.permissionCode }}</v-btn>
|
||||
<app-btn v-show="item.menuType==1" class="mr-2" color="secondary"> 权限:{{ item.permissionCode }}</app-btn>
|
||||
<!-- <v-btn class="mr-2">图标:{{ item.icon }}</v-btn> -->
|
||||
<v-btn v-show="item.menuType!=1" class="mr-2">路由:{{ item.router }}</v-btn>
|
||||
<app-btn v-show="item.menuType==0" class="mr-2" >路由:{{ item.router }}</app-btn>
|
||||
<!-- <v-btn v-if="item.mould" class="mr-2">接口名:{{ item.mould.mould_name }}</v-btn>
|
||||
<v-btn v-if="item.mould" class="mr-2" color="secondary">接口地址:{{ item.mould.url }}</v-btn> -->
|
||||
<!-- <ccCombobox
|
||||
|
||||
@@ -31,6 +31,7 @@ function getBtn(par) {
|
||||
});
|
||||
break;
|
||||
case "role":
|
||||
per.forEach(p => {
|
||||
if(p=="role:get")
|
||||
{
|
||||
axiosEnable.get=true;
|
||||
@@ -47,8 +48,10 @@ function getBtn(par) {
|
||||
{
|
||||
axiosEnable.add=true;
|
||||
}
|
||||
})
|
||||
break;
|
||||
case "menu":
|
||||
per.forEach(p => {
|
||||
if(p=="menu:get")
|
||||
{
|
||||
axiosEnable.get=true;
|
||||
@@ -65,6 +68,7 @@ function getBtn(par) {
|
||||
{
|
||||
axiosEnable.add=true;
|
||||
}
|
||||
})
|
||||
break;
|
||||
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
init() {
|
||||
this.btnEnable = getBtn("user")
|
||||
this.btnEnable = getBtn("role")
|
||||
this.axiosUrls = {
|
||||
get: "/role/GetList",
|
||||
update: "/role/Update",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user