Pre Merge pull request !5 from webuilder/fix-I83EJG
This commit is contained in:
commit
4ac859a44e
@ -93,7 +93,7 @@ export default {
|
||||
// 然后将数组转为对象数组
|
||||
this.fileList = list.map(item => {
|
||||
if (typeof item === "string") {
|
||||
if (item.indexOf(this.baseUrl) === -1) {
|
||||
if (item.indexOf(this.baseUrl) === -1 && item.indexOf('://') < 0) {
|
||||
item = { name: this.baseUrl + item, url: this.baseUrl + item };
|
||||
} else {
|
||||
item = { name: item, url: item };
|
||||
|
Loading…
Reference in New Issue
Block a user