Commit 395eeee6 by 展昭

tj

parent 7965e52d
Showing with 4 additions and 5 deletions
...@@ -50,10 +50,7 @@ Vue.prototype.setPageNavState = function () { ...@@ -50,10 +50,7 @@ Vue.prototype.setPageNavState = function () {
"getBarHeight", "getBarHeight",
null, null,
function (response) { function (response) {
console.log( console.log("main getBarHeight来自 ios/android的回传数据: ", response);
"main getBarHeight来自 ios/android的回传数据: ",
response
);
if (response) { if (response) {
response = JSON.parse(response); response = JSON.parse(response);
const barHeight = response.statusBarHeight; const barHeight = response.statusBarHeight;
......
...@@ -435,8 +435,10 @@ export default { ...@@ -435,8 +435,10 @@ export default {
this.closeWebView(); this.closeWebView();
} }
}, },
async mounted() { mounted() {
this.setPageNavState(); this.setPageNavState();
},
async mounted() {
this.globalNavLeftArrowClick(this.navLeftArrowClick); this.globalNavLeftArrowClick(this.navLeftArrowClick);
await this.loadPeriodData(); await this.loadPeriodData();
this.payUrl = await this.loadPayUrl(); this.payUrl = await this.loadPayUrl();
......
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 sign in to comment