|
@@ -29,6 +29,7 @@ Vue.prototype.$socket = webim;
|
|
App.mpType = 'app'
|
|
App.mpType = 'app'
|
|
import * as filters from './filters'
|
|
import * as filters from './filters'
|
|
import * as config from './config'
|
|
import * as config from './config'
|
|
|
|
+import utils from '@/util/util.js'
|
|
|
|
|
|
let urlAddress = 'liangxin.zthymaoyi.com'
|
|
let urlAddress = 'liangxin.zthymaoyi.com'
|
|
|
|
|
|
@@ -36,6 +37,7 @@ Vue.prototype.$url = 'https://'+urlAddress+'/upload/'
|
|
Vue.prototype.$uploadUrl = 'https://'+urlAddress+'/file/upload'
|
|
Vue.prototype.$uploadUrl = 'https://'+urlAddress+'/file/upload'
|
|
Vue.prototype.$ws = 'wss://'+urlAddress+'/chat'
|
|
Vue.prototype.$ws = 'wss://'+urlAddress+'/chat'
|
|
Vue.prototype.$ossUrl = 'https://taohaoliang.oss-cn-beijing.aliyuncs.com/appData'
|
|
Vue.prototype.$ossUrl = 'https://taohaoliang.oss-cn-beijing.aliyuncs.com/appData'
|
|
|
|
+Vue.prototype.utils = utils
|
|
|
|
|
|
// let urlAddress = 'localhost'
|
|
// let urlAddress = 'localhost'
|
|
// Vue.prototype.$url = 'https://liangxin.zthymaoyi.com/upload/'
|
|
// Vue.prototype.$url = 'https://liangxin.zthymaoyi.com/upload/'
|