Commit 04dccc84cc2333b1d98b1bce272e81dbdd7eb729

Authored by ly525
1 parent 4ee84e75

chore: remote update list after delete item

front-end/h5/src/views/work-manager/list-mixin.js
... ... @@ -46,6 +46,8 @@ export default {
46 46 this.deleteWork(work.id).then(res => {
47 47 const index = this.workList.findIndex(item => item.id === work.id)
48 48 this.workList.splice(index, 1)
  49 + this.fetchCount({ is_template: this.isTemplate })
  50 + this.handleSearch()
49 51 })
50 52 },
51 53 handleSearch () {
... ...