fix: 修复用户列表批量更新弹窗组件不重新渲染问题

This commit is contained in:
“huailei000”
2022-04-21 16:44:26 +08:00
committed by Jiangjie.Bai
parent a593da7fea
commit 8a731937cf

View File

@@ -97,10 +97,10 @@ export default {
getDefaultFormSetting() {
const vm = this
return {
submitMethod: () => 'post',
submitMethod: () => 'patch',
cleanFormValue: function(value) {
const filterValue = {}
Object.keys(value).filter((key) => vm.checkedFields.includes(key)).forEach((key) => {
Object.keys(value).filter((key) => vm.checkedFields?.includes(key)).forEach((key) => {
filterValue[key] = value[key]
})
const formValue = []