mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-27 09:48:21 +01:00
enhance vfs path handling
This commit is contained in:
parent
2316994b94
commit
a5d93fcd72
@ -356,7 +356,7 @@ namespace OS {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.genealogy = re.split("/").filter(s=> s!="");
|
this.genealogy = re.split("/").filter(s=> s!="");
|
||||||
this.path = this.genealogy.join("/");
|
this.path = `${this.protocol}://${this.genealogy.join("/")}`;
|
||||||
if (!this.isRoot()) {
|
if (!this.isRoot()) {
|
||||||
this.basename = this.genealogy[
|
this.basename = this.genealogy[
|
||||||
this.genealogy.length - 1
|
this.genealogy.length - 1
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user