Browse Source
update static/js/request.js.
Signed-off-by: 陈凯楠 <1403191743@qq.com>
dev
陈凯楠
11 months ago
committed by
Gitee
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with
1 additions and
1 deletions
-
static/js/request.js
|
|
@ -1,7 +1,7 @@ |
|
|
|
import Vue from 'vue' |
|
|
|
import store from '@/store' |
|
|
|
|
|
|
|
const NEWAPIURL = process.env.NODE_ENV == 'development' ? 'https://testtaihu.xmainc.com' : 'https://testtaihu.xmainc.com' |
|
|
|
let NEWAPIURL = process.env.NODE_ENV == 'development' ? 'https://testtaihu.xmainc.com' : 'https://testtaihu.xmainc.com' |
|
|
|
Vue.prototype.NEWAPIURL = NEWAPIURL |
|
|
|
// #ifdef H5
|
|
|
|
NEWAPIURL = '/api' |
|
|
|