diff --git a/.env b/.env new file mode 100644 index 0000000..5a2941e --- /dev/null +++ b/.env @@ -0,0 +1,19 @@ +### + # @Author: 季万俊 + # @Date: 2025-09-04 19:58:43 + # @Description: +### +# 页面标题 +VITE_APP_TITLE = 智慧管廊综合管理平台软件V1.0 + +# 开发环境配置 +ENV = 'development' + +# 若依管理系统/开发环境 +VITE_APP_BASE_API = '/api' +VITE_VUE_LOGIN_USERNAME = 'admin' +VITE_VUE_LOGIN_PASSWORD = 'admin123' +VITE_VUE_APP_BASE_FILEURL = "http://172.16.1.162:18080/" + +# 路由懒加载 +VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/.env.development b/.env.development new file mode 100644 index 0000000..5a2941e --- /dev/null +++ b/.env.development @@ -0,0 +1,19 @@ +### + # @Author: 季万俊 + # @Date: 2025-09-04 19:58:43 + # @Description: +### +# 页面标题 +VITE_APP_TITLE = 智慧管廊综合管理平台软件V1.0 + +# 开发环境配置 +ENV = 'development' + +# 若依管理系统/开发环境 +VITE_APP_BASE_API = '/api' +VITE_VUE_LOGIN_USERNAME = 'admin' +VITE_VUE_LOGIN_PASSWORD = 'admin123' +VITE_VUE_APP_BASE_FILEURL = "http://172.16.1.162:18080/" + +# 路由懒加载 +VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..aa919a8 --- /dev/null +++ b/.env.production @@ -0,0 +1,19 @@ +### + # @Author: 季万俊 + # @Date: 2025-09-04 19:58:43 + # @Description: +### +# 页面标题 +VITE_APP_TITLE = 智慧管廊综合管理平台软件V1.0 + +# 开发环境配置 +ENV = 'development' + +# 若依管理系统/开发环境 +VITE_APP_BASE_API = '/api' +VITE_VUE_LOGIN_USERNAME = 'admin' +VITE_VUE_LOGIN_PASSWORD = 'admin123' +VITE_VUE_APP_BASE_FILEURL = "/" + +# 路由懒加载 +VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue index 94e161d..2e01a34 100644 --- a/src/layout/components/Sidebar/Logo.vue +++ b/src/layout/components/Sidebar/Logo.vue @@ -29,7 +29,6 @@ defineProps({ required: true } }) -console.log(import.meta,"----import.meta.env"); const title = import.meta.env.VITE_APP_TITLE const settingsStore = useSettingsStore() @@ -87,10 +86,11 @@ const getLogoTextColor = computed(() => { margin: 0; color: v-bind(getLogoTextColor); font-weight: 600; - line-height: 50px; + line-height: 24px; font-size: 14px; font-family: Avenir, Helvetica Neue, Arial, Helvetica, sans-serif; vertical-align: middle; + padding: 0 4px; } } diff --git a/src/views/dashboard/LineChartTpf.vue b/src/views/dashboard/LineChartTpf.vue index a805f1e..d65bf46 100644 --- a/src/views/dashboard/LineChartTpf.vue +++ b/src/views/dashboard/LineChartTpf.vue @@ -42,7 +42,6 @@ export default { data() { return { chart: null, - chartData: {}, }; }, watch: { diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index 2635ebd..2bc8088 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -11,7 +11,10 @@