解决快速创建菜单问题

This commit is contained in:
icssoa 2023-06-08 17:16:57 +08:00
parent 9f37d489e9
commit 5a000030c5
3 changed files with 4 additions and 3 deletions

View File

@ -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",

View File

@ -172,7 +172,8 @@ function open() {
mitt.emit("magic.createMenu"); mitt.emit("magic.createMenu");
close(); close();
}) })
.catch(() => { .catch((err) => {
console.error(err);
done(); done();
}); });
} }

View File

@ -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 = {};