BUG 30994
This commit is contained in:
		| @@ -14,7 +14,8 @@ export default { | ||||
|   label: "菜单管理", | ||||
|   props: { | ||||
|     instance: Function, | ||||
|     dict: {default: () => ({})} | ||||
|     dict: {default: () => ({})}, | ||||
|     permission: Function | ||||
|   }, | ||||
|   computed: { | ||||
|     currentPage() { | ||||
|   | ||||
| @@ -38,7 +38,8 @@ | ||||
|               </el-row> | ||||
|               <el-row type="flex" align="middle" class="operation"> | ||||
|                 <div v-if="node.isLeaf" class="opBtn del" v-text="`删除`" @click="handleDelete(data)"/> | ||||
|                 <div v-if="data.component&&data.type==1" class="opBtn" v-text="`引导页`" @click="$router.push({hash:'#intro',query:{id:data.id}})"/> | ||||
|                 <div v-if="permission('guide_page_config')&&data.component&&data.type==1" class="opBtn" v-text="`引导页`" | ||||
|                      @click="$router.push({hash:'#intro',query:{id:data.id}})"/> | ||||
|                 <div v-if="data.type<2" class="opBtn" v-text="`添加下级`" @click="addMenu(data)"/> | ||||
|                 <div class="opBtn" v-text="`编辑`" @click="handleEdit(data)"/> | ||||
|               </el-row> | ||||
| @@ -97,7 +98,8 @@ export default { | ||||
|   name: "list", | ||||
|   props: { | ||||
|     instance: Function, | ||||
|     dict: {default: () => ({})} | ||||
|     dict: {default: () => ({})}, | ||||
|     permission: Function | ||||
|   }, | ||||
|   data() { | ||||
|     return { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user