This commit is contained in:
zhutianqi
2021-08-03 15:07:08 +08:00
parent 3ad2af1b77
commit 1746c1d5b7
2 changed files with 2 additions and 2 deletions
+2 -1
View File
@@ -2,6 +2,7 @@ import axios from 'axios'
import router from '@/router'
import store from '@/store'
import {Message} from 'element-ui'
import { baseUrl } from '@/sysConfig'
// import 'element-ui/lib/theme-chalk/index.css'
/**
@@ -18,7 +19,7 @@ let formData = (data) => {
}
const service = axios.create({
baseURL: '/'
baseURL: process.env.NODE_ENV === 'production' ? baseUrl : '/'
})
service.defaults.timeout = 99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
@@ -176,7 +176,6 @@
</div>
</div>
<ProcessFooter
show-save
show-submit
:submitLoading="isSubmit"
:saveLoading="saveLoading"