From 6557b5d2c80cb182e9ef1e355254cd075b4bac59 Mon Sep 17 00:00:00 2001 From: lilinyuan <1084668738@qq.com> Date: Thu, 9 May 2024 17:32:21 +0800 Subject: [PATCH 1/3] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/fvcomponents/fvSearchForm/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fvcomponents/fvSearchForm/index.vue b/src/fvcomponents/fvSearchForm/index.vue index 0994c8c..b4c6534 100644 --- a/src/fvcomponents/fvSearchForm/index.vue +++ b/src/fvcomponents/fvSearchForm/index.vue @@ -68,7 +68,7 @@ const filterConfig = computed(()=>{ // 搜索功能表单元素默认值 const setDefaultFormValues = () => { filterConfig.value.forEach(item=>{ - form.value[item.prop] = item.props.defaultValue || null + form.value[item.prop] = item.props?.defaultValue || null }) } From 639caadc46f0ecd99d65df0319045dfbe1e3e4d2 Mon Sep 17 00:00:00 2001 From: lilinyuan <1084668738@qq.com> Date: Thu, 9 May 2024 17:32:36 +0800 Subject: [PATCH 2/3] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stores/permisstion.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/stores/permisstion.js b/src/stores/permisstion.js index 2a90914..e1864fe 100644 --- a/src/stores/permisstion.js +++ b/src/stores/permisstion.js @@ -107,7 +107,17 @@ export const usePermisstionStroe = defineStore('permisstion', () => { } const removeMenu = () => { - menuList.value.length = 0 + menuList.value = [ + { + name: 'home', + path: '/home', + icon: 'home', + title: '首页', + meta: { + breadcrumb: true + } + } + ] asyncRouters.value.length = 0 } From 28b4637e01c907798f15ba851cd21e68a18e27a7 Mon Sep 17 00:00:00 2001 From: lilinyuan <1084668738@qq.com> Date: Thu, 9 May 2024 17:33:01 +0800 Subject: [PATCH 3/3] =?UTF-8?q?feat:=20=E5=88=9D=E5=A7=8B=E5=8C=96?= =?UTF-8?q?=E9=9C=80=E6=B1=82=E6=B1=87=E6=80=BB=E4=B8=BB=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../projectdemand/demandsummary/index.vue | 122 +++++++++++++++++- 1 file changed, 119 insertions(+), 3 deletions(-) diff --git a/src/views/projectdemand/demandsummary/index.vue b/src/views/projectdemand/demandsummary/index.vue index 18fde93..f43b74c 100644 --- a/src/views/projectdemand/demandsummary/index.vue +++ b/src/views/projectdemand/demandsummary/index.vue @@ -1,11 +1,127 @@