diff --git a/code/web/task_schedule/.env.development b/code/web/task_schedule/.env.development index f066825..bd12d2a 100644 --- a/code/web/task_schedule/.env.development +++ b/code/web/task_schedule/.env.development @@ -1,3 +1,3 @@ NODE_ENV = 'development' -VITE_URL_VALIDATE_ACCOUNT=http://222.76.244.118:11001/desktop_archievement_backend/account/query_staff_info.do +VITE_URL_VALIDATE_ACCOUNT="http://222.76.244.118:11001/desktop_archievement_backend/account/query_staff_info.do" VITE_URL_LOGIN = "http://222.76.244.118:11001/admin-system/account/p13_account_check" diff --git a/code/web/task_schedule/env.d.ts b/code/web/task_schedule/env.d.ts new file mode 100644 index 0000000..a4ad6e2 --- /dev/null +++ b/code/web/task_schedule/env.d.ts @@ -0,0 +1,20 @@ +/* + * @Author: Kane + * @Date: 2023-03-03 10:07:00 + * @LastEditors: Kane + * @FilePath: /task_schedule/env.d.ts + * @Description: + * + * Copyright (c) ${2022} by Kane, All Rights Reserved. + */ +interface ImportMetaEnv +{ + readonly VITE_APP_TITLE: string; + readonly VITE_URL_VALIDATE_ACCOUNT: string; + // 更多环境变量... +} + +interface ImportMeta +{ + readonly env: ImportMetaEnv; +} \ No newline at end of file diff --git a/code/web/task_schedule/src/App.vue b/code/web/task_schedule/src/App.vue index b023e88..ef4dbb9 100644 --- a/code/web/task_schedule/src/App.vue +++ b/code/web/task_schedule/src/App.vue @@ -2,7 +2,7 @@ * @Author: Kane * @Date: 2023-02-15 09:25:52 * @LastEditors: Kane - * @LastEditTime: 2023-02-28 22:15:53 + * @LastEditTime: 2023-03-03 10:00:54 * @FilePath: /task_schedule/src/App.vue * @Description: * 应用的框架: @@ -11,12 +11,12 @@ * Copyright (c) ${2022} by Kane, All Rights Reserved. --> -