Commit c50368c0 authored by leiqingsong's avatar leiqingsong

Merge branch 'dev_lqs' into 'master'

Dev lqs

See merge request !153
parents 2d43357c 5058ba1b
# 生产环境 部署生产环境放开这个
# VUE_APP_BASE_URL = "http://app.xitiansen.com"
VUE_APP_BASE_URL = "http://app.xitiansen.com"
# 测试环境 部署测试环境放开这个
VUE_APP_BASE_URL = "http://8.131.244.76:81"
\ No newline at end of file
# VUE_APP_BASE_URL = "http://8.131.244.76:81"
\ No newline at end of file
......@@ -22,7 +22,7 @@ export default {
this.currentTitle = val.meta.title;
}
},
mounted() {
created() {
console.log("和App开始交互");
this.$bridgeToAppFun
.getAuthToken()
......
......@@ -39,7 +39,6 @@ class bridgeToAppFun {
console.log("调ios的方法");
jsBridge.callhandler("getAuthToken", null, data => {
if (data) {
// localStorage.setItem("token", data);
resolve(data);
} else {
console.log("调用失败");
......@@ -114,8 +113,10 @@ class bridgeToAppFun {
console.log("an");
version = window.android.getAppVersion();
} else {
console.log("ios获取版本号");
jsBridge.callhandler("getAppVersion", null, response => {
if (response) {
console.log("版本号,获取到的数据", response);
version = response;
}
});
......
......@@ -89,7 +89,7 @@ export default {
inviteeCodeDialog: false
};
},
mounted() {
created() {
console.log("读取用户信息");
this.imageBaseUrl = process.env.VUE_APP_BASE_URL;
this.getUser();
......
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