feat:v1.4前端更新
This commit is contained in:
10
app/libs/global.js
Normal file
10
app/libs/global.js
Normal file
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* 全局使用的变量值
|
||||
*/
|
||||
import Cache from '@/utils/cache'
|
||||
import Vue from 'vue'
|
||||
const global = {
|
||||
//图片域名
|
||||
urlDomain: Cache.get('imgHost')?Cache.get('imgHost'):''
|
||||
}
|
||||
Vue.prototype.$GLOBAL = global
|
||||
Reference in New Issue
Block a user