Explorar o código

优化fix bug

PrinceLee %!s(int64=5) %!d(string=hai) anos
pai
achega
0f90d37c34
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/views/projectManage/bugList/details/filterList.vue

+ 1 - 0
src/views/projectManage/bugList/details/filterList.vue

@@ -157,6 +157,7 @@ export default {
           message: '请填写名称',
           type: 'error'
         })
+        this.$set(this.filterList[e.index], 'name', this.copyFilterList[e.index].name)
         return false
       }
       const res = await updateFilter({ id: e.id, name: e.name })