Browse Source

Merge branch 'master' of http://git.cc-lotus.info/new_train/frame

guhongwei 4 years ago
parent
commit
a9049c6d1d
1 changed files with 1 additions and 2 deletions
  1. 1 2
      components/upload.vue

+ 1 - 2
components/upload.vue

@@ -8,13 +8,13 @@
       :file-list="fileList"
       :file-list="fileList"
       :limit="limit"
       :limit="limit"
       :on-exceed="outLimit"
       :on-exceed="outLimit"
-      :on-preview="handlePictureCardPreview"
       :before-remove="handleRemove"
       :before-remove="handleRemove"
       :on-success="onSuccess"
       :on-success="onSuccess"
       :before-upload="beforeUpload"
       :before-upload="beforeUpload"
       :show-file-list="showList"
       :show-file-list="showList"
       :accept="accept"
       :accept="accept"
     >
     >
+      <!-- :on-preview="handlePictureCardPreview" -->
       <el-button size="small" type="primary" v-if="isBtn">点击上传</el-button>
       <el-button size="small" type="primary" v-if="isBtn">点击上传</el-button>
       <template v-else-if="uploadBtn">
       <template v-else-if="uploadBtn">
         <el-button type="danger">选择文件</el-button>
         <el-button type="danger">选择文件</el-button>
@@ -71,7 +71,6 @@ export default {
   watch: {
   watch: {
     data: {
     data: {
       handler(val) {
       handler(val) {
-        console.log('in function:');
         this.defalutProcess(val);
         this.defalutProcess(val);
       },
       },
       deep: true,
       deep: true,