You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
474 B
21 lines
474 B
const app = getApp()
|
|
Page({
|
|
data: {
|
|
url: ''
|
|
},
|
|
onLoad: function (options) {
|
|
console.log(options);
|
|
console.log( decodeURIComponent(options.url));
|
|
if (options.token) {
|
|
this.setData({
|
|
url: `${options.url}`
|
|
})
|
|
console.log('url',this.data.url)
|
|
} else {
|
|
this.setData({
|
|
url: decodeURIComponent(options.url)
|
|
// url:`${options.url}?deptName=${options.deptName}&gridId=${options.gridId}`
|
|
})
|
|
}
|
|
}
|
|
})
|
|
|