更新
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user