提交 e5a05b61 编写于 作者: 张磊's avatar 张磊

for test

上级 b396602d
...@@ -15,7 +15,7 @@ VUE_APP_MOCK_USER_INFO= ...@@ -15,7 +15,7 @@ VUE_APP_MOCK_USER_INFO=
VUE_APP_ENCRYPT=false VUE_APP_ENCRYPT=false
# 是否开启vConsole # 是否开启vConsole
VUE_APP_CONSOLE= VUE_APP_CONSOLE=true
# appid # appid
VUE_APP_APPID=wx342ef0e5afee54a7 VUE_APP_APPID=wx342ef0e5afee54a7
......
...@@ -35,13 +35,10 @@ const WX_TYPE_MAP = { ...@@ -35,13 +35,10 @@ const WX_TYPE_MAP = {
uat: 30, uat: 30,
prod: 5, prod: 5,
}; };
// if(process.env.VUE_APP_CONSOLE){
const app_env = ['dev', 'test']; // // const VConsole = require('vconsole');
if (app_env.indexOf(process.env.NUXT_ENV_APP) != -1) { // // new VConsole();
console.log('当前运行环境 NUXT_ENV_APP =>', process.env.NUXT_ENV_APP); // }
const VConsole = require('vconsole');
new VConsole();
}
// Vue.use(PicaCallApp) // Vue.use(PicaCallApp)
Vue.use(PicaGuideApp) Vue.use(PicaGuideApp)
......
...@@ -414,17 +414,12 @@ export default { ...@@ -414,17 +414,12 @@ export default {
originalFlag: 'originalFlag', originalFlag: 'originalFlag',
}), }),
}, },
asyncData() {
return {};
},
created() { created() {
if (process.client) {
this.token = this.token =
(this.$route && this.$route.query && this.$route.query.token) || (this.$route && this.$route.query && this.$route.query.token) ||
this.token; this.token;
this.projectId = this.projectId =
(this.$route && this.$route.query && this.$route.query.projectId) || (this.$route && this.$route.query && this.$route.query.projectId) || 374;
374;
this.queryGDParams.projectId = this.projectId; this.queryGDParams.projectId = this.projectId;
this.CNTParams.projectId = this.projectId; this.CNTParams.projectId = this.projectId;
this.queryParams.projectId = this.projectId; this.queryParams.projectId = this.projectId;
...@@ -435,7 +430,6 @@ export default { ...@@ -435,7 +430,6 @@ export default {
} else { } else {
this.getUserInfo(); this.getUserInfo();
} }
}
// this.$store.dispatch('searchHospital', { name: '测试' }); // this.$store.dispatch('searchHospital', { name: '测试' });
}, },
mounted() { mounted() {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册