优化
This commit is contained in:
parent
740a395b36
commit
2479f91f7c
@ -387,7 +387,8 @@ export default {
|
||||
const str = this.staffList.list.map(i => i.staffId).join(',')
|
||||
let params = {}
|
||||
// debugger
|
||||
if (!this.form.content) return
|
||||
if (!this.form.content.replace(/(^\s*)|(\s*$)/g, '')) return
|
||||
this.form.content = this.form.content.replace(/(^\s*)|(\s*$)/g, '')
|
||||
params.content = this.form.content
|
||||
if (str) params.atStaffIds = str
|
||||
params[this.pinglunForm.id ? 'taskId' : 'detailId'] = this.pinglunForm.id ? this.pinglunForm.id : this.taskInfo.detailId
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user