镜像自地址
https://github.com/binary-husky/gpt_academic.git
已同步 2025-12-06 14:36:48 +00:00
add width_to_hide_welcome
这个提交包含在:
@@ -152,7 +152,8 @@ class WelcomeMessage {
|
|||||||
async update() {
|
async update() {
|
||||||
console.log('update')
|
console.log('update')
|
||||||
var page_width = document.documentElement.clientWidth;
|
var page_width = document.documentElement.clientWidth;
|
||||||
if (!await this.isChatbotEmpty() || page_width < 1100) {
|
const width_to_hide_welcome = 1200;
|
||||||
|
if (!await this.isChatbotEmpty() || page_width < width_to_hide_welcome) {
|
||||||
if (this.visible) {
|
if (this.visible) {
|
||||||
this.removeWelcome();
|
this.removeWelcome();
|
||||||
this.visible = false;
|
this.visible = false;
|
||||||
|
|||||||
在新工单中引用
屏蔽一个用户