Browse Source

字典编辑 提交

master
OUMYYE\Administrator 2 years ago
parent
commit
e95182b621
  1. 9
      src/layout/components/Aside.vue
  2. 1
      src/views/setting/dict/data/index.vue

9
src/layout/components/Aside.vue

@ -27,19 +27,23 @@
"
:expand="route.meta.isExpand"
>
<div v-for="item in route.children" >
<a
v-for="item in route.children"
:key="item.name"
v-if="!item.meta.hidden"
@click.stop="
router.push({
name: item.name,
})
"
class="flex center v-center"
>
<span>{{ item.meta.title }}</span>
<span v-if="!item.meta.hidden">{{ item.meta.title }} </span>
</a>
</div>
</div>
</a>
</nav>
<button
@ -74,6 +78,7 @@ function handleAsideCollapse() {
}
function handleMenuClick(route) {
console.log(route)
if (route.meta.type === "C") {

1
src/views/setting/dict/data/index.vue

@ -171,4 +171,5 @@ const handleDelete = async (ids: any[] | number) => {
}
getLists()
</script>

Loading…
Cancel
Save