Эх сурвалжийг харах

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

qinzhipeng_v 5 жил өмнө
parent
commit
d6aff33af0

+ 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
       }
     }