优化一键填入过程

This commit is contained in:
JiangYingjin 2025-03-02 02:27:17 +08:00
parent a5289b39d0
commit d08af47342

View File

@ -1436,6 +1436,12 @@ function _Chat() {
if (payload.code) {
accessStore.update((access) => (access.accessCode = payload.code!));
if (accessStore.isAuthorized()) {
context.pop();
const copiedHello = Object.assign({}, BOT_HELLO);
context.push(copiedHello);
setUserInput(" ");
}
}
} catch {
console.error("[Command] failed to get settings from url: ", text);