YaolongHan 4 years ago
parent
commit
634bcb00c4
1 changed files with 15 additions and 0 deletions
  1. 15 0
      src/components/editview/rightPropertyBar/BaseImagePro.vue

+ 15 - 0
src/components/editview/rightPropertyBar/BaseImagePro.vue

@@ -83,6 +83,21 @@
           </div>
         </div>
       </li>
+      <li>
+        <div class="small-title">图片</div>
+        <div class="property">
+          <div class="color-box">
+              <el-upload
+                class="avatar-uploader"
+                action="https://jsonplaceholder.typicode.com/posts/"
+                :show-file-list="false"
+                :before-upload="beforeAvatarUpload"
+              >
+                <el-button size="small" plain>电击上传</el-button>
+              </el-upload>
+          </div>
+        </div>
+      </li>
       <li v-show="isSvg">
         <div class="small-title">滤镜(只针对svg)</div>
         <div class="color-box">