Commit 773d71a8 by cocomilk2012

update

parent abcf6ef9
Showing with 3 additions and 2 deletions
...@@ -20,6 +20,7 @@ Object.keys(filters).forEach((key: string) => { ...@@ -20,6 +20,7 @@ Object.keys(filters).forEach((key: string) => {
Vue.use(server); Vue.use(server);
Vue.prototype.closeWebView = function () { Vue.prototype.closeWebView = function () {
console.log('close webview in jsbridge');
try { try {
initJsBridge(() => { initJsBridge(() => {
//@ts-ignore //@ts-ignore
...@@ -43,7 +44,7 @@ Vue.prototype.closeWebView = function () { ...@@ -43,7 +44,7 @@ Vue.prototype.closeWebView = function () {
}); });
}); });
} catch (err) { } catch (err) {
console.log("setPageNavState is error"); console.log("closeWebView is error");
} }
}; };
......
...@@ -105,7 +105,7 @@ export default class SelectIdentity extends Vue { ...@@ -105,7 +105,7 @@ export default class SelectIdentity extends Vue {
Dialog.alert({ Dialog.alert({
message: "您还未实名认证,不可进行查询,请先去【我】的页面,点击头像,进行实名认证后再查询" message: "您还未实名认证,不可进行查询,请先去【我】的页面,点击头像,进行实名认证后再查询"
}).then(()=>{ }).then(()=>{
console.log('close webview');
//@ts-ignore //@ts-ignore
this.closeWebView(); this.closeWebView();
}); });
......
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