vue重置表单,resetFields()的使用

 1.给弹出框一个close

2.prop 一定要写 不写resetFields会失效!!

 处理事件函数

    clearDialog(){
      this.$refs.formRef.resetFields()
    },

猜你喜欢

转载自blog.csdn.net/weixin_57607714/article/details/126229452
今日推荐