Pre Merge pull request !335 from wwpy/dev

This commit is contained in:
wwpy 2022-02-24 01:30:45 +00:00 committed by Gitee
commit f7bcf70a1f

View File

@ -18,7 +18,7 @@
> >
<i class="el-icon-plus"></i> <i class="el-icon-plus"></i>
</el-upload> </el-upload>
<!-- 上传提示 --> <!-- 上传提示 -->
<div class="el-upload__tip" slot="tip" v-if="showTip"> <div class="el-upload__tip" slot="tip" v-if="showTip">
请上传 请上传
@ -124,7 +124,7 @@ export default {
}, },
// //
handleUploadSuccess(res) { handleUploadSuccess(res) {
this.fileList.push({ name: res.fileName, url: res.fileName }); this.fileList.push({ name: this.baseUrl + res.fileName, url: this.baseUrl + res.fileName });
this.$emit("input", this.listToString(this.fileList)); this.$emit("input", this.listToString(this.fileList));
this.loading.close(); this.loading.close();
}, },