no message
This commit is contained in:
parent
42e3365ed5
commit
2b7e8f1740
@ -1053,12 +1053,23 @@ function _Chat() {
|
||||
key?: string;
|
||||
url?: string;
|
||||
uin?: number;
|
||||
uid?: number;
|
||||
};
|
||||
|
||||
if (
|
||||
accessStore.openaiApiKey == payload.key &&
|
||||
accessStore.openaiUrl == payload.url
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
||||
console.log("[Command] got settings from url: ", payload);
|
||||
if (payload.key || payload.url) {
|
||||
// var messages = Locale.URLCommand.Settings + `\n${JSON.stringify(payload, null, 4)}`;
|
||||
var messages =
|
||||
"检测到已登录寄托账号(UID:" + payload.uin + "),请确定是否继续登录?";
|
||||
"检测到已登录寄托账号(UID:" +
|
||||
(payload.uin || payload.uid) +
|
||||
"),请确定是否继续登录?";
|
||||
showConfirm(messages).then((res) => {
|
||||
if (!res) return;
|
||||
if (payload.key) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user