소스 검색

缺陷:新建缺陷时,提交错误保留弹窗界面

洪海涛 4 년 전
부모
커밋
c6dfd416a3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/projectManage/bugList/file/createdBug.vue

+ 1 - 1
src/views/projectManage/bugList/file/createdBug.vue

@@ -510,7 +510,7 @@ export default {
           }
           bugCreate({ bugBaseInfo: data, user }).then(res => {
             this.bugListSelect()
-            this.modalShow = false
+            this.modalShow = res.code !== 200
             this.$message({
               message: res.msg,
               type: 'success',