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
posted @ 2023-07-27 03:40
posted @ 2023-07-21 23:57
Powered by:
博客园
Copyright © 2025 Coco_一水久钟
Powered by .NET 9.0 on Kubernetes