图片上传组件
This commit is contained in:
parent
2d5b692ad5
commit
ffe76eabb0
@ -111,7 +111,8 @@ export default {
|
|||||||
this.fileList = list.map((item) => {
|
this.fileList = list.map((item) => {
|
||||||
if (typeof item === 'string') {
|
if (typeof item === 'string') {
|
||||||
if (item.indexOf(this.baseUrl) === -1) {
|
if (item.indexOf(this.baseUrl) === -1) {
|
||||||
item = { name: this.baseUrl + item, url: this.baseUrl + item };
|
// item = { name: this.baseUrl + item, url: this.baseUrl + item };
|
||||||
|
item = { name: this.baseUrl + item, url: item };
|
||||||
} else {
|
} else {
|
||||||
item = { name: item, url: item };
|
item = { name: item, url: item };
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user