mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
add config for bingChat UI
This commit is contained in:
parent
9ec7186e34
commit
c8a8b0214f
12 changed files with 50 additions and 30 deletions
|
@ -15,8 +15,17 @@ async function setChatHubWithMagic(user) {
|
|||
// ture|false|'repeat'
|
||||
async function getChatHubWithMagic() {
|
||||
let v = localStorage.ChatHubWithMagic;
|
||||
if (v) return v;
|
||||
return true;
|
||||
if (v) {
|
||||
switch(v){
|
||||
case 0:
|
||||
break;
|
||||
case 1:
|
||||
return false;
|
||||
case 2:
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return 'repeat';
|
||||
}
|
||||
|
||||
//设置上次创建的聊天
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue