epmet 工作端 小程序
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.

22 lines
516 B

const app = getApp()
Page({
data: {
1 year ago
worktoken: ''
},
onLoad: function (options) {
console.log(options);
1 year ago
console.log( decodeURIComponent(options.worktoken));
if (options.token) {
this.setData({
1 year ago
worktoken: `${options.worktoken}`
})
1 year ago
console.log('url',this.data.worktoken)
} else {
this.setData({
1 year ago
worktoken: decodeURIComponent(options.worktoken)
2 years ago
// url:`${options.url}?deptName=${options.deptName}&gridId=${options.gridId}`
})
}
}
})