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 }) } 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 } 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 @@