优化文件存储
This commit is contained in:
parent
69aebfd039
commit
27870f5f62
@ -182,7 +182,7 @@ function listToString(list, separator) {
|
||||
separator = separator || ','
|
||||
for (let i in list) {
|
||||
if (undefined !== list[i].url && list[i].url.indexOf('blob:') !== 0) {
|
||||
strs += list[i].url.replace(baseUrl, '') + separator
|
||||
strs += list[i].url + separator
|
||||
}
|
||||
}
|
||||
return strs != '' ? strs.substr(0, strs.length - 1) : ''
|
||||
|
||||
@ -273,7 +273,7 @@ function reset() {
|
||||
form.value = {
|
||||
fileName: '',
|
||||
fileUrl: '',
|
||||
storePath: 'uploads',
|
||||
storePath: '',
|
||||
fileSize: 0,
|
||||
fileExt: '',
|
||||
storeType: 1,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user