|
@@ -406,7 +406,7 @@ export default {
|
|
|
// 关闭弹窗
|
|
|
handleClose() {
|
|
|
this.$refs?.formRef?.resetFields()
|
|
|
- this.$data.formData = this.$options.data().formData
|
|
|
+ this.formData = this.$options?.data()?.formData
|
|
|
this.formDialog = false
|
|
|
this.formDialogType = 0
|
|
|
this.activeName = 'goodsInfo'
|
|
@@ -501,8 +501,8 @@ export default {
|
|
|
type: 'success',
|
|
|
message: '保存成功'
|
|
|
})
|
|
|
- this.handleClose()
|
|
|
this.$refs.pageRef.refreshList()
|
|
|
+ this.handleClose()
|
|
|
})
|
|
|
}
|
|
|
})
|