vue.js挖坑记:屏蔽ivew的modal框确认按钮的关闭动作
问题:modal框作为表单验证,当表单内容通不过校验时,点击“确认”按钮希望不关闭modal框解决方案:关键一步操作 this.$nextTick(() => { this.loading = true; });<template> <div> <Button type="primary" @click="modal1 =...
转载
2019-02-12 11:44:16 ·
3767 阅读 ·
0 评论