소스 검색

弹窗报错bug

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) {
           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()
         }