From cf3cce111f0e604a7d0eab5df4c5ff8d86227649 Mon Sep 17 00:00:00 2001 From: pengjun <158915633@qq.com> Date: Tue, 10 Sep 2024 15:00:09 +0800 Subject: [PATCH] login --- src/views/login/Login.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/login/Login.vue b/src/views/login/Login.vue index e6941b6..4d87f61 100644 --- a/src/views/login/Login.vue +++ b/src/views/login/Login.vue @@ -133,7 +133,7 @@ export default { ...mapMutations(["setData"]), async getSysConfig() { try { - let res = await axios.get('/sysConfig.json', { timeout: 50000 }) // , { timeout: 50000 } + let res = await axios.get(`/sysConfig.json?r=${Math.random()}`, { timeout: 50000 }) // , { timeout: 50000 } console.log('axios.get /sysConfig.json', res) if (!res.data.apiurl) this.$message.error({ showClose: true, message: `获取配置参数错误,请重新刷新本页面!` }) this.setData({ key: "sysConfig", value: res.data });