ready: function () {
let dev_querys = {
}
console.log('this.properties', this.properties);
if (this.properties.work_id != null && this.properties.work_id.length > 0) {
dev_querys["workid"] = {
datatype: "long",
value: Number.parseInt(this.properties.work_id)
}
console.log('this.properties dev_querys', dev_querys);
}
}
小程序 Component 读取 properties中的数据
最新推荐文章于 2024-07-11 20:14:46 发布