Browse Source

弹窗报错bug

panxiandiao_i 5 năm trước cách đây
mục cha
commit
08577b045d
1 tập tin đã thay đổi với 6 bổ sung1 xóa
  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()
         }