@ -167,12 +167,7 @@ export default {
this.getTableData()
},
initForm() {
this.form = {
path: '',
apiGroup: '',
description: '',
method: ''
}
this.$refs.apiForm.resetFields()
closeDialog() {
this.initForm()
@ -136,9 +136,7 @@ export default {
// 初始化表单
for (const key in this.form) {
this.form[key] = ''
this.$refs.authorityForm.resetFields()
// 关闭窗口
@ -162,17 +162,7 @@ export default {
// 初始化弹窗内表格方法
name: '',
hidden: '',
parentId: '',
component: '',
meta: {
title: '',
icon: ''
this.$refs.menuForm.resetFields()
// 关闭弹窗
@ -141,13 +141,7 @@ export default {
})
closeAddUserDialog() {
this.userInfo = {
username: '',
password: '',
nickName: '',
headerImg: '',
authorityId: ''
this.$refs.userForm.resetFields()
this.addUserDialog = false
handleAvatarSuccess(res) {