diff --git a/components.d.ts b/components.d.ts index 48d4602..e00c4df 100644 --- a/components.d.ts +++ b/components.d.ts @@ -12,6 +12,7 @@ export {} declare module 'vue' { export interface GlobalComponents { ElButton: typeof import('element-plus/es')['ElButton'] + ElCheckbox: typeof import('element-plus/es')['ElCheckbox'] ElCol: typeof import('element-plus/es')['ElCol'] ElDialog: typeof import('element-plus/es')['ElDialog'] ElIcon: typeof import('element-plus/es')['ElIcon'] diff --git a/src/App.vue b/src/App.vue index 0571eb9..d3699f4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -16,7 +16,7 @@ let loadingInstanve = ElLoading.service(loadingOption); watch( - () => useStatusStore().getAppLoadingCompleted(), + () => useStatusStore().appLoadingCompleted, (val) => { if (val) { loadingInstanve.close(); diff --git a/src/component/common/InformationBox.vue b/src/component/common/InformationBox.vue index ee0ca4e..c23bc06 100644 --- a/src/component/common/InformationBox.vue +++ b/src/component/common/InformationBox.vue @@ -56,7 +56,7 @@ // 数据转换 Object.entries(props.data).forEach(([key, value]) => { - // 判读key是不是存在field中,存在就添加到表格数据,不存在则不添加 + // 判断key是不是存在field中,存在就添加到表格数据,不存在则不添加 if (Object.hasOwn(props.field, key) && value) { tableDatas.value.push({ title: props.field[key], diff --git a/src/component/map/AdministrativeDivision.vue b/src/component/map/AdministrativeDivision.vue index 60ff0b2..6a23dcb 100644 --- a/src/component/map/AdministrativeDivision.vue +++ b/src/component/map/AdministrativeDivision.vue @@ -5,7 +5,8 @@ diff --git a/src/component/map/MapComponent.vue b/src/component/map/MapComponent.vue index 85e86ac..3d72875 100644 --- a/src/component/map/MapComponent.vue +++ b/src/component/map/MapComponent.vue @@ -2,7 +2,7 @@
-