Browse Source

Merge branch 'product' of http://1.116.113.26:8088/zhuliu/xiaoshi_system into product

zhuliu 1 năm trước cách đây
mục cha
commit
1551baeb09
1 tập tin đã thay đổi với 1 bổ sung7 xóa
  1. 1 7
      src/views/event/components/dialog/addEvent.vue

+ 1 - 7
src/views/event/components/dialog/addEvent.vue

@@ -116,7 +116,7 @@
       <div slot="footer" class="dialog-footer">
         <el-button size="small" @click="handleClose()" style="width:100px">取消</el-button>
         <el-button size="small" @click="resetForm()" style="width:100px">重置</el-button>
-        <el-button type="primary" @click="submitForm1()" size="small" v-loading="loading" style="width:100px">确定</el-button>
+        <el-button type="primary" @click="submitForm1()" size="small" :loading="loading" style="width:100px">确定</el-button>
       </div>
     </el-dialog>
 
@@ -176,8 +176,6 @@ export default {
   methods: {
     // 自定义组件文件删除
     onRemove(file, fileList) {
-      console.log(file);
-
       if (file.guid) {
         let a = this.formData[0].systemFileList.findIndex(item => {
           return item.guid == file.guid
@@ -193,9 +191,6 @@ export default {
     },
     // 自定义组件文件监听
     onchange(file, fileList) {
-      if (this.formData[0].systemFileList && this.formData[0].systemFileList.length>0) {
-        
-      }
       if (this.files && this.files.length>0) {
         let a=this.files.findIndex(item => {
           return item.size == file.size
@@ -341,7 +336,6 @@ export default {
           return item.guid
         })
       }
-      console.log(forms);
       formData.append('event', JSON.stringify(forms[0]))
       if (forms[0].id) {//编辑
         this.$api.updateEvent(formData).then(res => {