更新项目配置和添加小程序模块
- 修改 ArticleController.java - 更新 application.yml 配置 - 更新 frontend/.env.production 环境配置 - 添加 single_uniapp22miao 小程序模块 - 添加 logs 目录
This commit is contained in:
10
single_uniapp22miao/libs/global.js
Normal file
10
single_uniapp22miao/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