修改已知bug

This commit is contained in:
qq787203167
2022-08-10 17:19:11 +08:00
parent 68bc939e42
commit 0f3bcd0b96
7 changed files with 71 additions and 7 deletions
@@ -564,6 +564,12 @@
})
},
completeTask(value, taskId) {
Object.keys(value).forEach(res => {
if (value[res] && value[res] instanceof String) {
value[res] = value[res].replace(/\"/g, '“')
value[res] = value[res].replace(/\'/g, '‘')
}
})
let query = {
userid: this.userInfo().id,
taskId: taskId,