Browse Source

弹窗报错bug

panxiandiao_i 5 years ago
parent
commit
08577b045d
1 changed files with 6 additions and 1 deletions
  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) {
           this.successFun()
           this.currentHandler = this.form.currentHandler
+          if (this.$refs.refeshDevelopmentDialog !== undefined) {
+            this.$refs.refeshDevelopmentDialog.resetFields()
+          }
           this.$refs.refeshDevelopmentDialog.resetFields()
         } else {
           this.errorFun()
@@ -182,7 +185,9 @@ export default {
           this.currentHandler = this.form.currentHandler
           this.reason = this.form.reason
           this.bugType = this.form.bugType
-          this.$refs.refeshWaitTestDialog.resetFields()
+          if (this.$refs.refeshWaitTestDialog !== undefined) {
+            this.$refs.refeshWaitTestDialog.resetFields()
+          }
         } else {
           this.errorFun()
         }