mirror of
https://github.com/doocs/md.git
synced 2024-11-28 13:36:32 +08:00
feat: add tooltip for icon-upload
为上传icon添加文字提示
This commit is contained in:
parent
f986ced564
commit
d76bc246a4
@ -37,8 +37,11 @@
|
||||
<!-- 图片上传 -->
|
||||
<el-upload action="https://cors-anywhere.herokuapp.com/https://sm.ms/api/v2/upload"
|
||||
headers="{'Content-Type': 'multipart/form-data'}" :show-file-list="false" :multiple="false"
|
||||
accept=".jpg,.jpeg,.png,.gif" :limit="1" name="smfile" :on-success="uploaded" :on-error="failed" :on-progress="uploading">
|
||||
accept=".jpg,.jpeg,.png,.gif" :limit="1" name="smfile" :on-success="uploaded" :on-error="failed"
|
||||
:on-progress="uploading">
|
||||
<el-tooltip class="item" effect="dark" content="点击上传图片" placement="bottom-start">
|
||||
<i class="el-icon-upload" size="medium"> </i>
|
||||
</el-tooltip>
|
||||
</el-upload>
|
||||
<el-form size="mini" class="ctrl" :inline=true>
|
||||
<el-form-item label="编辑器主题">
|
||||
|
Loading…
Reference in New Issue
Block a user