2023年7月27日

uniapp 使用this指针无法修改data变量的问题

摘要: 原代码: Sex() { console.log(this); uni.showActionSheet({ title:"选择性别", itemList: ['男','女'], itemColor: "#55aaff", success(res) { const n=res.tapIndex+1; 阅读全文

posted @ 2023-07-27 03:40 Coco_一水久钟 阅读(220) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示