Commit 55837e6c authored by 罗成兵's avatar 罗成兵

配置文件

parent 000eccd5
...@@ -36,8 +36,7 @@ export default { ...@@ -36,8 +36,7 @@ export default {
}; };
}, },
mounted() { mounted() {
console.log(query); if (process.env.NODE_ENV == "dev1") {
if (process.env.NODE_ENV == "dev") {
let userInfo = { let userInfo = {
account: '18487125843', account: '18487125843',
token: '7de354fd8be1484cacbc41e96fe88d7e', token: '7de354fd8be1484cacbc41e96fe88d7e',
...@@ -54,7 +53,10 @@ export default { ...@@ -54,7 +53,10 @@ export default {
}; };
if (!userInfo.userId && !userInfo.account) { if (!userInfo.userId && !userInfo.account) {
this.msg = "用户信息获取失败!" this.msg = "用户信息获取失败!"
callMobile('init', {}); let vm = this;
setTimeout(function (){
callMobile('init', {});
},3000)
} else { } else {
if (!userInfo.userId || !userInfo.account) { if (!userInfo.userId || !userInfo.account) {
this.msg = "用户信息获取失败!" this.msg = "用户信息获取失败!"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment