Browse Source

logi

master
pengjun 2 years ago
parent
commit
b385df6e91
  1. 2
      src/views/login/Login.vue

2
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

Loading…
Cancel
Save