mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-16 08:38:48 +00:00
解决快速创建菜单问题
This commit is contained in:
parent
9f37d489e9
commit
5a000030c5
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "front-next",
|
"name": "front-next",
|
||||||
"version": "6.3.0",
|
"version": "6.3.1",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite --host",
|
"dev": "vite --host",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
|
|||||||
@ -172,7 +172,8 @@ function open() {
|
|||||||
mitt.emit("magic.createMenu");
|
mitt.emit("magic.createMenu");
|
||||||
close();
|
close();
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch((err) => {
|
||||||
|
console.error(err);
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -51,7 +51,7 @@ const handler = {
|
|||||||
|
|
||||||
// 多选
|
// 多选
|
||||||
dict_multiple(entity: Entity) {
|
dict_multiple(entity: Entity) {
|
||||||
const { table, form } = this.dict(entity);
|
const { table, form } = handler.dict(entity);
|
||||||
|
|
||||||
if (!form.component?.props) {
|
if (!form.component?.props) {
|
||||||
form.component!.props = {};
|
form.component!.props = {};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user