瀏覽代碼

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

洪海涛 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',