From 029c945aef84cd7fa6dea1e8733717df40d08e71 Mon Sep 17 00:00:00 2001 From: pengjun <158915633@qq.com> Date: Fri, 9 Jan 2026 15:48:46 +0800 Subject: [PATCH] seo --- src/views/customerReport/personnelPositive.vue | 2 +- src/views/login/Login.vue | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/views/customerReport/personnelPositive.vue b/src/views/customerReport/personnelPositive.vue index ac15d19..cab5020 100644 --- a/src/views/customerReport/personnelPositive.vue +++ b/src/views/customerReport/personnelPositive.vue @@ -79,7 +79,7 @@ + }人 男性: ${summary.maleCount}人 女性: ${summary.femaleCount}人`" align="left"> diff --git a/src/views/login/Login.vue b/src/views/login/Login.vue index 4e9145f..8441945 100644 --- a/src/views/login/Login.vue +++ b/src/views/login/Login.vue @@ -131,7 +131,7 @@ export default { }, computed: { - ...mapState(['sysConfig']), + ...mapState(['sysConfig','dict']), }, methods: { @@ -139,9 +139,12 @@ export default { async getSysConfig() { try { let res = await axios.get(`/sysConfig.json?r=${Math.random()}`, { timeout: 50000 }) // , { timeout: 50000 } - console.log('axios.get /sysConfig.json', res) + //console.log('axios.get /sysConfig.json', res) if (!res.data.apiurl) this.$message.error({ showClose: true, message: `获取配置参数错误,请重新刷新本页面!` }) + // 设置应用参数 this.setData({ key: "sysConfig", value: res.data }); + if(res.data?.dict?.completeFlag) this.dict.completeFlag = res.data.dict.completeFlag + // this.sysConfig = res.data window.sessionStorage.setItem('sysConfig', JSON.stringify(res.data)) } catch (error) {