Commit ff69a96b by lixiaomin

注释优惠券类别取消按钮提示框

parent 4c5844ef
......@@ -150,16 +150,17 @@ export default {
},
// 取消按钮
resetForm(formName) {
this.$confirm('数据未保存,确定离开?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.open = false;
this.$refs[formName].resetFields();
}).catch(() => {
this.open = false;
// this.$confirm('数据未保存,确定离开?', '提示', {
// confirmButtonText: '确定',
// cancelButtonText: '取消',
// type: 'warning'
// }).then(() => {
// this.open = false;
// this.$refs[formName].resetFields();
// }).catch(() => {
});
// });
},
close(formName){
this.$refs[formName].resetFields();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment