|
@@ -273,9 +273,11 @@ export default {
|
|
|
bizId: this.formData.bizId
|
|
|
}
|
|
|
if (e === 'name') {
|
|
|
- this.formData.name.replace(/\s/g, '') === ''
|
|
|
- this.getById()
|
|
|
- return
|
|
|
+ this.formData.name = this.formData.name.replace(/\s/g, '')
|
|
|
+ if (this.formData.name === '') {
|
|
|
+ this.getById()
|
|
|
+ return
|
|
|
+ }
|
|
|
}
|
|
|
if (e === 'participants') {
|
|
|
params[e] = this.formData[e].join(',')
|