From b385df6e91dcb56589536199c2d8887703a07cbe Mon Sep 17 00:00:00 2001 From: pengjun <158915633@qq.com> Date: Sat, 20 Apr 2024 11:45:26 +0800 Subject: [PATCH] logi --- 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 5fd392b..b15cc2a 100644 --- a/src/views/login/Login.vue +++ b/src/views/login/Login.vue @@ -94,7 +94,7 @@ export default { async getSysConfig() { try { - let res = await axios.get('/sysConfig.html') // , { timeout: 50000 } + let res = await axios.get('/sysConfig.html', { timeout: 50000 }) // , { timeout: 50000 } console.log('axios.get /sysConfig.html',res) if(!res.data.apiurl) this.$message.error({ showClose: true, message: `获取配置参数错误,请重新刷新本页面!` }) this.sysConfig = res.data