qinzhipeng_v 5 년 전
부모
커밋
dfd678cb2e
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      src/views/projectManage/bugList/file/createdBug.vue

+ 2 - 3
src/views/projectManage/bugList/file/createdBug.vue

@@ -1,5 +1,5 @@
 <template>
-  <div v-if="bugEnum" class="Parent">
+  <div class="Parent">
     <el-dialog :visible.sync="modalShow" width="60%" :close-on-click-modal="false" @close="modalClose">
       <el-form ref="formInline" label-position="left" :model="formInline" :rules="rules" label-width="90px">
         <el-row style="margin: 0 4% 2% 4%;">
@@ -208,7 +208,6 @@ export default {
       taskIdStr: [],
       titleName: '',
       loading: false,
-      bugEnum: true,
       options: [],
       test: [], // 人员查询
       form: {},
@@ -270,6 +269,7 @@ export default {
         this.$refs['formInline'].clearValidate()
       })
       this.fileList = []
+      this.formInline = null
       this.$set(this.formInline, 'creatorList', this.userNames)
       this.$set(this.formInline, 'bizId', Number(localStorage.getItem('bizId')))
       if (e === 1) {
@@ -291,7 +291,6 @@ export default {
       this.formInline = {}
       this.editorRemark.txt.clear()
       this.modalShow = false
-      this.bugEnum = false
     },
     // 上传成功回调
     handleChange(response, file, fileList) {