mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
我的笔记样式调整
This commit is contained in:
@@ -40,7 +40,7 @@
|
|||||||
:limit="limit">
|
:limit="limit">
|
||||||
<svg-icon style="font-size:52px;margin-right:5px;margin-top:20px" icon-class="up-char"></svg-icon>
|
<svg-icon style="font-size:52px;margin-right:5px;margin-top:20px" icon-class="up-char"></svg-icon>
|
||||||
<div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
|
<div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
|
||||||
<div class="el-upload__tip" slot="tip">支持拓展名:支持扩展名:<span v-for="ty in fileType">{{ty}},</span> 图片支持批量上传,最多9张</div>
|
<div class="el-upload__tip" slot="tip">支持拓展名:支持扩展名:<span v-for="ty in fileType">{{ty}} </span> <span v-if="limit > 1">图片支持批量上传,最多9张</span></div>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
|
|
||||||
<!-- 文件列表 -->
|
<!-- 文件列表 -->
|
||||||
|
|||||||
@@ -310,7 +310,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
updated() {
|
updated() {
|
||||||
this.chart.resize();
|
this.chart && this.chart.resize();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
|
|||||||
@@ -393,7 +393,7 @@ export default {
|
|||||||
this.upNoteFile.content = [];
|
this.upNoteFile.content = [];
|
||||||
if(e == '3') {
|
if(e == '3') {
|
||||||
this.upNoteFile.limit = 9;
|
this.upNoteFile.limit = 9;
|
||||||
this.upNoteFile.fileType = ["png","jpg"];
|
this.upNoteFile.fileType = ["png","jpg","jpeg","bmp"];
|
||||||
} else if(e == '1'){
|
} else if(e == '1'){
|
||||||
this.upNoteFile.fileType = ["txt"];
|
this.upNoteFile.fileType = ["txt"];
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user