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