diff --git a/.env.development b/.env.development index 1e1a148..4d67a05 100644 --- a/.env.development +++ b/.env.development @@ -2,4 +2,4 @@ NEW_FILE_CODE VITE_BACKEND_BASE_URL=http://localhost:8081 -START_PORT=80 \ No newline at end of file +START_PORT=81 \ No newline at end of file diff --git a/.env.production b/.env.production index 92783b3..0bcd24d 100644 --- a/.env.production +++ b/.env.production @@ -1,4 +1,4 @@ NEW_FILE_CODE VITE_BACKEND_BASE_URL=http://localhost:8080 -START_PORT=81 \ No newline at end of file +START_PORT=80 \ No newline at end of file diff --git a/src/api/api.ts b/src/api/api.ts index e81819b..004ba16 100644 --- a/src/api/api.ts +++ b/src/api/api.ts @@ -1,4 +1,4 @@ -import type { DisasterType } from '@/types/common/DisasterType' +import type { DisasterType } from '@/types/common/DisasterType.ts' import { getSm2PublicKey } from './crypto' import { getBasePoins as getHiddenDangerBasePoints, getPointDetailById as getHiddenDangerPointDetailById} from './hidden-danger-spots' import { getBasePoins as getRiskBasePoints, getPointDetailById as getRiskPointDetailById} from './risk-spots' diff --git a/src/api/hidden-danger-spots.ts b/src/api/hidden-danger-spots.ts index 2e1d6be..f39be96 100644 --- a/src/api/hidden-danger-spots.ts +++ b/src/api/hidden-danger-spots.ts @@ -1,6 +1,6 @@ import type { ApiResponse } from "@/types/ApiResponse" import type { XianHiddenDangerSpots } from "@/types/base/XianHiddenDangerSpots" -import type { DisasterType } from "@/types/common/DisasterType" +import type { DisasterType } from "@/types/common/DisasterType.ts" import httpInstance from "@/utils/request/http" /** diff --git a/src/component/rain-earthquake/BasicComponent.vue b/src/component/rain-earthquake/BasicComponent.vue index 2736ba1..26a4c6d 100644 --- a/src/component/rain-earthquake/BasicComponent.vue +++ b/src/component/rain-earthquake/BasicComponent.vue @@ -17,7 +17,7 @@ diff --git a/src/views/home/rainstorm/RainstormView.vue b/src/views/home/rainstorm/RainstormView.vue index 370e64b..bcd4296 100644 --- a/src/views/home/rainstorm/RainstormView.vue +++ b/src/views/home/rainstorm/RainstormView.vue @@ -5,7 +5,6 @@ :key="route.fullPath" /> - { + console.log('条件改变'); + }, + { deep: true } + ); diff --git a/typedoc.json b/typedoc.json index d225439..5da7ca0 100644 --- a/typedoc.json +++ b/typedoc.json @@ -4,7 +4,8 @@ "api", "hooks", "utils", - "stores" + "stores", + "types" ], "out": "docs", "name": "西安应急多灾种灾害链分析系统 API 文档",