mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-09 18:59:26 +08:00
fix: 修复新增菜单时,由于 parentId 传值错误导致的报错
This commit is contained in:
@@ -92,7 +92,6 @@ const isGridView = ref(false)
|
||||
|
||||
const iconList: string[] = []
|
||||
for (const path in SvgIconModules) {
|
||||
console.log(path)
|
||||
const name = path.replace('/src/assets/icons/', '').replace('.svg', '')
|
||||
iconList.push(name)
|
||||
}
|
||||
|
@@ -31,7 +31,7 @@
|
||||
<a-button @click="reset">重置</a-button>
|
||||
</template>
|
||||
<template #custom-right>
|
||||
<a-button v-permission="['system:dept:add']" type="primary" @click="onAdd">
|
||||
<a-button v-permission="['system:dept:add']" type="primary" @click="onAdd()">
|
||||
<template #icon><icon-plus /></template>
|
||||
<span>新增</span>
|
||||
</a-button>
|
||||
|
@@ -31,7 +31,7 @@
|
||||
<a-button @click="reset">重置</a-button>
|
||||
</template>
|
||||
<template #custom-right>
|
||||
<a-button v-permission="['system:menu:add']" type="primary" @click="onAdd">
|
||||
<a-button v-permission="['system:menu:add']" type="primary" @click="onAdd()">
|
||||
<template #icon><icon-plus /></template>
|
||||
<span>新增</span>
|
||||
</a-button>
|
||||
|
Reference in New Issue
Block a user