mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-08 14:34:13 +08:00
ban掉utools enter和out
This commit is contained in:
parent
7729108ebe
commit
724e969f07
@ -465,6 +465,9 @@ window.getuToolsLite = () => {
|
||||
delete utoolsLite.getUserServerTemporaryToken
|
||||
delete utoolsLite.openPayment
|
||||
delete utoolsLite.fetchUserPayments
|
||||
// 其他
|
||||
delete utoolsLite.onPluginEnter
|
||||
delete utoolsLite.onPluginOut
|
||||
Object.freeze(utoolsLite)
|
||||
return utoolsLite
|
||||
}
|
||||
|
@ -33,10 +33,10 @@ export default defineComponent({
|
||||
window.utools = window.getuToolsLite();
|
||||
if (!this.checkVer()) return;
|
||||
this.startUp();
|
||||
utools.onPluginEnter((enter) => {
|
||||
this.utools.whole.onPluginEnter((enter) => {
|
||||
this.enterPlugin(enter);
|
||||
});
|
||||
utools.onPluginOut(() => {
|
||||
this.utools.whole.onPluginOut(() => {
|
||||
this.outPlugin();
|
||||
});
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user