Initial commit
This commit is contained in:
9
miniprogram/pages/webview/webview.ts
Normal file
9
miniprogram/pages/webview/webview.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
Page({
|
||||
data: { url: '' },
|
||||
onLoad(query: { url?: string }) {
|
||||
const url = decodeURIComponent(query.url || '')
|
||||
this.setData({ url })
|
||||
wx.setNavigationBarTitle({ title: '汪圈' })
|
||||
},
|
||||
onMessage() {},
|
||||
})
|
||||
Reference in New Issue
Block a user