bug修改

This commit is contained in:
zhaoxiao
2021-10-13 17:26:29 +08:00
parent 3e4de0af2e
commit dff5ae4de1
8 changed files with 34 additions and 30 deletions
@@ -164,7 +164,12 @@ export default {
this.confirmLoading = false
return
}
let str = this.checkedKeys.slice(1).join(',').toString()
let str = ''
if (this.checkedKeys[0] === '0-0') {
str = this.checkedKeys.slice(1).join(',').toString()
} else {
str = this.checkedKeys.join(',').toString()
}
this.form.setFieldsValue({ memberName: str })
this.form.validateFields((err) => {
if (!err) {