其他分享
首页 > 其他分享> > 2021-01-11

2021-01-11

作者:互联网

properties: {
businessColor: { // 属性名
type: null, // String, Number, Boolean, Object, Array, null(表示任意类型)
value: ‘’,
observer: function (newVal, oldVal) {
console.log(oldVal + ‘oldValwid1=’ + newVal)
this.setData({
winHeight: newVal
})
}
},
},

标签:11,businessColor,01,observer,oldValwid1,newVal,oldVal,2021,null
来源: https://blog.csdn.net/weixin_44671184/article/details/112465766