解决结项不刷新的问题

main
wuyize 2022-07-14 11:29:41 +08:00
parent 9fd2b1d847
commit dabacedb76
1 changed files with 2 additions and 1 deletions

View File

@ -212,6 +212,7 @@ export default {
}, },
onCloseProject(row) { onCloseProject(row) {
const that = this
request({ request({
url: 'project/complete', url: 'project/complete',
method: 'post', method: 'post',
@ -225,7 +226,7 @@ export default {
message: '结项成功', message: '结项成功',
type: 'success', type: 'success',
}) })
this.getProjects(); that.getProjects();
} }
}).catch(function (error) { }).catch(function (error) {
console.log(error) console.log(error)