init
项目初始化
This commit is contained in:
8
pages/webview/webview.js
Normal file
8
pages/webview/webview.js
Normal file
@@ -0,0 +1,8 @@
|
||||
Page({
|
||||
data: { url: '' },
|
||||
onLoad(options) {
|
||||
if (options.url) {
|
||||
this.setData({ url: decodeURIComponent(options.url) });
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user