18
This commit is contained in:
+1
-4
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user