chore: adjust code

This commit is contained in:
GyDi
2022-05-30 00:57:31 +08:00
parent 8464e319fd
commit 5225c841ae
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;