下载了你的输入框示例,取消以后再点击,数据还在。请问怎么清空数据呢。

9***@qq.com
- 发布:2019-12-10 15:28
- 更新:2019-12-10 16:02
- 阅读:713
2 个回复
春雷Le - 私信,接各种特效
复制代码
cancel(){ uni.showToast({title:'取消',icon:'none'}) for (let item of this.inputData.content) { item.content = '' } },
n***@163.com
不错