- 清空DatePicker(日期选择器)的方法:
this.$refs.element.handleClear()
- 清空TimePicker(时间选择器)的方法:
this.$refs.element.handleClear()
- 清空Select组件的方法:
this.$refs.element.clearSingleSelect()
- 清空Table组件的方法:
this.$refs.element.selectAll(flase)
- 清空input组件的方法:
直接让绑定的变量等于空
转载于:
https://blog.csdn.net/weixin_41804384/article/details/80609240