diff --git a/securityManagement/index.html b/securityManagement/index.html index d821b0d..5218809 100644 --- a/securityManagement/index.html +++ b/securityManagement/index.html @@ -6,7 +6,7 @@ - Vite + Vue + TS + 保安后台
diff --git a/securityManagement/src/components/layout/layout.vue b/securityManagement/src/components/layout/layout.vue index 682ed00..f2f3540 100644 --- a/securityManagement/src/components/layout/layout.vue +++ b/securityManagement/src/components/layout/layout.vue @@ -15,14 +15,10 @@ - + - + diff --git a/securityManagement/src/views/enterprise.vue b/securityManagement/src/views/enterprise.vue index cdd702a..f24ed69 100644 --- a/securityManagement/src/views/enterprise.vue +++ b/securityManagement/src/views/enterprise.vue @@ -159,7 +159,7 @@ const transformData = (val:any,tree:any)=>{ } // 可以进行搜索行政区划 2 const filter: ShowSearchType['filter'] = (inputValue, path) => { - return path.some(option => option.label.toLowerCase().indexOf(inputValue.toLowerCase()) > -1); + return path?.some(option => option.label.toLowerCase().indexOf(inputValue?.toLowerCase()) > -1); }; // 搜索完成时回调 diff --git a/securityManagement/src/views/test.vue b/securityManagement/src/views/test.vue index 7898fe3..2f1c317 100644 --- a/securityManagement/src/views/test.vue +++ b/securityManagement/src/views/test.vue @@ -1,114 +1,24 @@