Commit 3373129e authored by 黎博's avatar 黎博

bug gicx

parent b43a6fec
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
</el-table> </el-table>
<!-- 新增更新对话框 --> <!-- 新增更新对话框 -->
<el-dialog :title="dialogName" :visible.sync="dialogFormVisible"> <el-dialog :title="dialogName" :visible.sync="dialogFormVisible" @closed="handleClose">
<el-form ref="dataFormRef" :rules="rules" :model="dataForm" label-position="left" label-width="105px" <el-form ref="dataFormRef" :rules="rules" :model="dataForm" label-position="left" label-width="105px"
style="width: 90%; margin-left:40px;"> style="width: 90%; margin-left:40px;">
<el-form-item label="类型" prop="module"> <el-form-item label="类型" prop="module">
...@@ -182,6 +182,10 @@ export default { ...@@ -182,6 +182,10 @@ export default {
return this.$message.error('导航删除失败') return this.$message.error('导航删除失败')
} }
}) })
},
// 关闭新增/编辑对话框触发方法
handleClose() {
this.$refs.dataFormRef.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