|
@@ -1,16 +1,16 @@
|
|
/*
|
|
/*
|
|
* @Author: WangQiBiao
|
|
* @Author: WangQiBiao
|
|
- * @LastEditors: mozhuangru
|
|
|
|
|
|
+ * @LastEditors: WuWei
|
|
* @Description: 配置文件
|
|
* @Description: 配置文件
|
|
* @Date: 2019-03-02 14:21:27
|
|
* @Date: 2019-03-02 14:21:27
|
|
- * @LastEditTime: 2019-10-12 10:40:15
|
|
|
|
|
|
+ * @LastEditTime: 2019-10-14 15:19:34
|
|
*/
|
|
*/
|
|
const path = require('path')
|
|
const path = require('path')
|
|
|
|
|
|
const resolve = dir => {
|
|
const resolve = dir => {
|
|
return path.join(__dirname, dir)
|
|
return path.join(__dirname, dir)
|
|
}
|
|
}
|
|
-const BASE_URL = process.env.NODE_ENV === 'production' ? '/screen' : '/'
|
|
|
|
|
|
+const BASE_URL = process.env.NODE_ENV === 'production' ? '/screen' : process.env.VUE_APP_SECRET === 'test' ? '/screen' : '/'
|
|
const ramdom = parseInt(Math.random() * 10000) // 随机数
|
|
const ramdom = parseInt(Math.random() * 10000) // 随机数
|
|
|
|
|
|
module.exports = {
|
|
module.exports = {
|