1
This commit is contained in:
parent
384ab17342
commit
331428df70
6
env.js
6
env.js
@ -6,10 +6,10 @@ module.exports = {
|
||||
VUE_APP_API_URL: '/dev'
|
||||
},
|
||||
// 开发环境 接口请求地址 (http)或(https)://www.a.com(换成你的域名)/api
|
||||
ev: {
|
||||
dev: {
|
||||
MODE: 'dev',
|
||||
VUE_APP_API_URL: 'http://127.0.0.1:8099/',
|
||||
// VUE_APP_API_URL: 'https://admin.cdtrucktralier.com/',
|
||||
// VUE_APP_API_URL: 'http://127.0.0.1:8099/',
|
||||
VUE_APP_API_URL: 'https://admin.cdtrucktralier.com/',
|
||||
VUE_APP_WEBSOCKET: 'wss://admin.cdtrucktralier.com/ws/asset/'
|
||||
},
|
||||
// 生产环境 接口请求地址 (http)或(https)://www.a.com(换成你的域名)/api 非独立部署默认为空
|
||||
|
@ -220,9 +220,6 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { onMounted } from 'vue'
|
||||
|
||||
|
||||
export default {
|
||||
name: 'index',
|
||||
data() {
|
||||
|
@ -6,7 +6,8 @@ export default function ({redirect, $axios, app}) {
|
||||
config => {
|
||||
config.params = {
|
||||
...config.params,
|
||||
tenantId: 'main', showPlat:"网站"
|
||||
tenantId: 'main',
|
||||
showPlat:"网站"
|
||||
}
|
||||
if (config.method === 'post') {
|
||||
config.data = {
|
||||
|
Loading…
Reference in New Issue
Block a user