mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-11-08 05:58:22 +01:00
update
This commit is contained in:
parent
d208aea1b9
commit
64094c29d5
Binary file not shown.
@ -263,10 +263,7 @@ namespace OS {
|
||||
}
|
||||
this.observable[evt].one.forEach((f) => f(d));
|
||||
this.observable[evt].one = new Set();
|
||||
this.observable[evt].many.forEach((f) => {
|
||||
console.log(f, d);
|
||||
f(d)
|
||||
});
|
||||
this.observable[evt].many.forEach((f) => f(d));
|
||||
}
|
||||
};
|
||||
if (evtName === "*") {
|
||||
|
@ -296,7 +296,7 @@ namespace OS {
|
||||
if (this.setting.view) {
|
||||
this.view.view = this.setting.view;
|
||||
}
|
||||
this.subscribe("VFS", (d) => {
|
||||
this.subscribe("VFS", (d: API.AnnouncementDataType<API.VFS.BaseFileHandle>) => {
|
||||
if (!this.vfs_event_flag) {
|
||||
return;
|
||||
}
|
||||
@ -305,7 +305,7 @@ namespace OS {
|
||||
}
|
||||
if (
|
||||
d.u_data.hash() === this.currdir.hash() ||
|
||||
d.u_data.file.parent().hash() === this.currdir.hash()
|
||||
d.u_data.parent().hash() === this.currdir.hash()
|
||||
) {
|
||||
return this.view.path = this.currdir.path;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user