This commit is contained in:
cansnow
2025-12-24 04:12:56 +08:00
parent f49f1f1ad1
commit f289f79813
26 changed files with 636 additions and 484 deletions
+1 -4
View File
@@ -259,10 +259,7 @@ export default{
v = v.replace(/\\/ig,"/").replace('/\/\/ig',"/");
//console.log(v);
if(isString(v)){
if(v.startsWith('blob:')){
return v;
}
if(v.startsWith('file://')){
if(v.startsWith('blob:') || v.startsWith('file://') || v.startsWith('http')){
return v;
}
v= v.startsWith('/') ? v : '/'+v;