Commit d7e986e0 by 展昭

closeOnClickOverlay

parent c722f175
Showing with 16 additions and 2 deletions
......@@ -51,8 +51,22 @@ http.interceptors.response.use(
Toast.fail({
message: '授权失败!',
duration: 0,
forbidClick: true,
overlay: true
overlay: true,
closeOnClick :true,
closeOnClickOverlay :true,
onClose: () => {
try {
window.WebViewJavascriptBridge.callHandler(
"closeWebView",
null,
function (response) {
console.log("closeWebView 来自 ios/android的回传数据:", response);
}
);
} catch (err) {
console.log("closeWebView is error");
}
}
})
//return info;
}
......
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