Browse Source

update static/js/request.js.

Signed-off-by: 陈凯楠 <1403191743@qq.com>
dev
陈凯楠 11 months ago
committed by Gitee
parent
commit
d5c40f362f
No known key found for this signature in database GPG Key ID: 173E9B9CA92EEF8F
  1. 2
      static/js/request.js

2
static/js/request.js

@ -1,7 +1,7 @@
import Vue from 'vue' import Vue from 'vue'
import store from '@/store' 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 Vue.prototype.NEWAPIURL = NEWAPIURL
// #ifdef H5 // #ifdef H5
NEWAPIURL = '/api' NEWAPIURL = '/api'

Loading…
Cancel
Save