panxiandiao_i пре 5 година
родитељ
комит
08577b045d
1 измењених фајлова са 6 додато и 1 уклоњено
  1. 6 1
      src/views/Platform/bugManage/bugQuery.vue

+ 6 - 1
src/views/Platform/bugManage/bugQuery.vue

@@ -161,6 +161,9 @@ export default {
         if (res.code === 200) {
         if (res.code === 200) {
           this.successFun()
           this.successFun()
           this.currentHandler = this.form.currentHandler
           this.currentHandler = this.form.currentHandler
+          if (this.$refs.refeshDevelopmentDialog !== undefined) {
+            this.$refs.refeshDevelopmentDialog.resetFields()
+          }
           this.$refs.refeshDevelopmentDialog.resetFields()
           this.$refs.refeshDevelopmentDialog.resetFields()
         } else {
         } else {
           this.errorFun()
           this.errorFun()
@@ -182,7 +185,9 @@ export default {
           this.currentHandler = this.form.currentHandler
           this.currentHandler = this.form.currentHandler
           this.reason = this.form.reason
           this.reason = this.form.reason
           this.bugType = this.form.bugType
           this.bugType = this.form.bugType
-          this.$refs.refeshWaitTestDialog.resetFields()
+          if (this.$refs.refeshWaitTestDialog !== undefined) {
+            this.$refs.refeshWaitTestDialog.resetFields()
+          }
         } else {
         } else {
           this.errorFun()
           this.errorFun()
         }
         }