修复share界面文件图标显示问题

This commit is contained in:
jmal 2020-05-23 18:30:52 +08:00
parent d582ac7af6
commit cc37dc9e4d

View File

@ -62,7 +62,8 @@
</div> </div>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<icon-file :item="scope.row" :image-url="imageUrl"></icon-file> <!--<icon-file :item="scope.row" :image-url="imageUrl"></icon-file>-->
<icon-file :item="scope.row" :image-url="imageUrl" :audio-cover-url="audioCoverUrl"></icon-file>
</template> </template>
</pl-table-column> </pl-table-column>
<!--名称--> <!--名称-->
@ -209,7 +210,7 @@
data() { data() {
return { return {
imageUrl: process.env.VUE_APP_BASE_API + '/view/thumbnail?jmal-token=' + this.$store.state.user.token + '&id=', imageUrl: process.env.VUE_APP_BASE_API + '/view/thumbnail?jmal-token=' + this.$store.state.user.token + '&id=',
// imageUrl: 'http://localhost:8088/view?username=' + this.$store.state.user.name + '&id=', audioCoverUrl: process.env.VUE_APP_BASE_API + '/view/cover?jmal-token=' + this.$store.state.user.token + '&id=',
fileMenuActive: '', fileMenuActive: '',
path: this.$route.query.path, path: this.$route.query.path,
showNewFolder: false, showNewFolder: false,