Merge branch 'dev' of http://122.51.230.86:3000/dianliang/lanan-system-vue into dev
This commit is contained in:
commit
5e4b167684
@ -92,7 +92,11 @@ export default {
|
|||||||
this.fileList = list.map(item => {
|
this.fileList = list.map(item => {
|
||||||
if (typeof item === "string") {
|
if (typeof item === "string") {
|
||||||
// edit by 芋道源码
|
// edit by 芋道源码
|
||||||
item = { name: item, url: this.viewFileUrl+item };
|
if(item.includes(this.viewFileUrl)){
|
||||||
|
item = { name: item, url: item };
|
||||||
|
}else{
|
||||||
|
item = { name: item, url: this.viewFileUrl+item };
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return item;
|
return item;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user