feat: add log function

This commit is contained in:
Gabe Yuan
2024-03-19 18:07:18 +08:00
parent 1d9e9c1b7d
commit 6e927473b9
24 changed files with 76 additions and 41 deletions

View File

@@ -6,6 +6,7 @@ import { sleep, limitNumber } from "../../libs/utils";
import { isGm, isExt } from "../../libs/client";
import { MSG_OPEN_TRANBOX, DEFAULT_TRANBOX_SHORTCUT } from "../../config";
import { isMobile } from "../../libs/mobile";
import { kissLog } from "../../libs/log";
export default function Slection({
contextMenuType,
@@ -127,7 +128,7 @@ export default function Slection({
});
};
} catch (err) {
console.log("[registerMenuCommand]", err);
kissLog(err, "registerMenuCommand");
}
}, [handleTranbox, contextMenuType]);