mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-03 11:25:29 -04:00
Clear page when switching plugins
This commit is contained in:
parent
30d5ad0c19
commit
5b58d8ac59
@ -72,6 +72,9 @@ const component = () => {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
pluginChanged() {
|
pluginChanged() {
|
||||||
|
this.manga = undefined;
|
||||||
|
this.chapters = undefined;
|
||||||
|
this.mid = undefined;
|
||||||
this.loadPlugin(this.pid);
|
this.loadPlugin(this.pid);
|
||||||
localStorage.setItem("plugin", this.pid);
|
localStorage.setItem("plugin", this.pid);
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user