chore: adjust code

This commit is contained in:
GyDi
2022-05-30 00:57:31 +08:00
parent b32b39579e
commit 9f2e25309e
4 changed files with 15 additions and 35 deletions

View File

@@ -136,6 +136,7 @@ class Enhance {
emit(payload.callback, JSON.stringify(result)).catch(console.error);
}
// setup the handler
setup() {
if (this.isSetup) return;