Commit 53efb5cd by liang ce

调试outlook登陆

parent f15357ea
...@@ -16,4 +16,4 @@ ...@@ -16,4 +16,4 @@
"window": { "window": {
"allowsBounceVertical": "YES" "allowsBounceVertical": "YES"
} }
} }
\ No newline at end of file
import { getOutlookUrl } from "../../api/request"; import { getOutlookUrl } from "../../api/request";
Page({ Page({
data: { data: {
url: '' url: ""
}, },
onLoad() { onLoad() {
setTimeout(() => { setTimeout(() => {
...@@ -9,8 +9,13 @@ Page({ ...@@ -9,8 +9,13 @@ Page({
getOutlookUrl(data).then(res => { getOutlookUrl(data).then(res => {
this.setData({ this.setData({
url: res.data.data url: res.data.data
}) });
}, 2000); }, 2000);
}); });
},
test(e) {
dd.alert({
content: JSON.stringify(e.detail)
});
} }
}); });
<web-view id="web-view-1" src="https://imgstatic.mingwork.com/meeting/redirect/redirect.html" onMessage="test"></web-view>
\ No newline at end of file
Page({
data: {},
onLoad() {},
});
{}
\ No newline at end of file
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