This commit is contained in:
xiaozhiyong
2023-02-22 17:37:16 +08:00
parent c856bb5318
commit dcffab1d2a
5 changed files with 28 additions and 86 deletions

View File

@@ -27,7 +27,7 @@
</el-form>
</div>
<span slot="footer" class="dialog-footer">
<el-button @click="controlWindows.adjust = false"> </el-button>
<el-button @click="closeWindow"> </el-button>
<el-button type="primary" @click="submit"> </el-button>
</span>
</el-dialog>
@@ -67,8 +67,8 @@ export default {
});
},
closeWindow() {
this.form = {};
this.$emit("closeWindow");
this.form = {};
this.$nextTick(() => {
this.$refs.form.clearValidate();
this.controlWindows.adjust = false;