init
This commit is contained in:
14
wx05cb767e6530b48f/pages/address/webvue.js
Normal file
14
wx05cb767e6530b48f/pages/address/webvue.js
Normal file
@@ -0,0 +1,14 @@
|
||||
Page({
|
||||
data: {
|
||||
url2: "https://wxminiapp.19year.cn/2.html",
|
||||
url1: "https://wxminiapp.19year.cn/1.html",
|
||||
url: ""
|
||||
},
|
||||
onLoad: function(t) {
|
||||
console.log("id", t.id), "1" == t.id ? (console.log(1), this.setData({
|
||||
url: "https://wxminiapp.19year.cn/1.html?dat=" + Date.now()
|
||||
})) : (console.log(2), this.setData({
|
||||
url: "https://wxminiapp.19year.cn/2.html?dat=" + Date.now()
|
||||
})), console.log(this.url);
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user