소스 검색

02/28 20:28

111
261568008@qq.com 5 년 전
부모
커밋
0856f4c6f2
4개의 변경된 파일16개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 0
      dist/index.html
  2. 0 0
      dist/static/js/chunk-1d391e04.bcc99998.js
  3. 0 0
      dist/static/js/chunk-1d391e04.c0792157.js
  4. 16 3
      src/views/editionManager/editionList.vue

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/chunk-1d391e04.bcc99998.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/chunk-1d391e04.c0792157.js


+ 16 - 3
src/views/editionManager/editionList.vue

@@ -55,16 +55,16 @@
         />
         />
       </div>
       </div>
     </div>
     </div>
-    <!--  -->
-    <el-dialog title="版本修改" width="400px" :visible.sync="sectionVisible" >
+    <!-- v-if="sectionVisible" -->
+    <el-dialog title="版本修改" width="400px" :visible.sync="sectionVisible" :before-close="resetForm" >
       <el-form
       <el-form
-      v-if="sectionVisible"
         :model="sectionForm"
         :model="sectionForm"
         ref="sectionForm"
         ref="sectionForm"
         :rules="sectionRules"
         :rules="sectionRules"
         label-position="right"
         label-position="right"
         label-width="80px"
         label-width="80px"
         :inline="true"
         :inline="true"
+        v-if="sectionVisible"
       >
       >
       <el-form-item label="客户端" prop="platform"  v-if="isNew">
       <el-form-item label="客户端" prop="platform"  v-if="isNew">
         <el-select v-model="sectionForm.platform" clearable>
         <el-select v-model="sectionForm.platform" clearable>
@@ -208,6 +208,19 @@ export default {
         }
         }
       })
       })
     },
     },
+    resetForm(){
+      this.sectionForm = {
+        platform:'',
+        version:'',
+        isForceUpdate:'',
+        downloadUrl:'',
+        status:'',
+        id:''
+      }
+    // console.log(this.sectionForm.status)
+    this.$refs.sectionForm.resetFields();
+    this.sectionVisible = false;
+    }
   },
   },
   filters: {
   filters: {
     statusFilter(val) {
     statusFilter(val) {

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.