Explorar o código

弹窗报错bug

panxiandiao_i %!s(int64=6) %!d(string=hai) anos
pai
achega
08577b045d
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  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()
         }