Pre Merge pull request !5 from webuilder/fix-I83EJG

This commit is contained in:
webuilder 2024-09-09 01:37:54 +00:00 committed by Gitee
commit 4ac859a44e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 };