From 5a000030c56e329146acd9e06d66893d7627e869 Mon Sep 17 00:00:00 2001 From: icssoa <2570063477@qq.com> Date: Thu, 8 Jun 2023 17:16:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=BF=AB=E9=80=9F=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E8=8F=9C=E5=8D=95=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/modules/magic/components/auto-menu/quick.vue | 3 ++- src/modules/magic/utils/index.ts | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index ff1d81b..25c8306 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "front-next", - "version": "6.3.0", + "version": "6.3.1", "scripts": { "dev": "vite --host", "build": "vite build", diff --git a/src/modules/magic/components/auto-menu/quick.vue b/src/modules/magic/components/auto-menu/quick.vue index 02b1c9e..8575dfa 100644 --- a/src/modules/magic/components/auto-menu/quick.vue +++ b/src/modules/magic/components/auto-menu/quick.vue @@ -172,7 +172,8 @@ function open() { mitt.emit("magic.createMenu"); close(); }) - .catch(() => { + .catch((err) => { + console.error(err); done(); }); } diff --git a/src/modules/magic/utils/index.ts b/src/modules/magic/utils/index.ts index 36767fd..3cc555b 100644 --- a/src/modules/magic/utils/index.ts +++ b/src/modules/magic/utils/index.ts @@ -51,7 +51,7 @@ const handler = { // 多选 dict_multiple(entity: Entity) { - const { table, form } = this.dict(entity); + const { table, form } = handler.dict(entity); if (!form.component?.props) { form.component!.props = {};