Selaa lähdekoodia

迭代更新时间为未设置不能更新bug 2020.6.16

qinzhipeng_v 5 vuotta sitten
vanhempi
sitoutus
d6aff33af0
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  1. 6 0
      src/views/projectManage/iteration/components/create.vue

+ 6 - 0
src/views/projectManage/iteration/components/create.vue

@@ -69,6 +69,12 @@ export default {
     iterations: {
       immediate: true,
       handler(iterations) {
+        if (iterations.endTime === '未设置') {
+          this.$set(this.iterations, 'endTime', '')
+        }
+        if (iterations.startTime === '未设置') {
+          this.$set(this.iterations, 'startTime', '')
+        }
         this.iteration = iterations === null ? {} : this.iterations
       }
     }