form表单重置bug修复

This commit is contained in:
pixel
2020-04-16 09:48:18 +08:00
parent 57167b6c38
commit 5698c207a1
3 changed files with 25 additions and 1 deletions

View File

@@ -191,6 +191,20 @@ export default {
// 初始化弹窗内表格方法
initForm() {
this.$refs.menuForm.resetFields()
this.form = {
ID: 0,
path: '',
name: '',
hidden: '',
parentId: '',
component: '',
meta: {
title: '',
icon: '',
defaultMenu:false,
keepAlive:""
}
}
},
// 关闭弹窗
closeDialog() {