Commit b2520e58 by 前端

弹框

1 parent 818f9de9
......@@ -33,6 +33,10 @@ export default {
return {};
},
props: {
isAutoClose: {
type: Boolean,
default: true,
},
position: {
type: String,
default: "center",
......@@ -74,7 +78,7 @@ export default {
this.$emit("cancel");
},
confirm() {
this.$refs.tips.close();
if (this.isAutoClose) this.$refs.tips.close();
this.$emit("confirm");
},
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!