sync: 鍚屾灞€鍩熺綉鏈€鏂颁唬鐮?(source master @ b69568e4)
This commit is contained in:
1 parent
4f7f07504a
commit
8bc8b0e082
1651 files changed
+278599
-11416
No files matched your search
@@ -20,6 +20,14 @@ export function readRuntimeFlag(key: string): boolean {
|
||||
return readRuntimeEnv(key) === "true";
|
||||
}
|
||||
|
||||
/**
|
||||
* 对话历史页「清空」按钮。runtime-config.js 里显式写成 "false" 才隐藏;
|
||||
* 没有这项、留空,或写成其它值,都显示。
|
||||
*/
|
||||
export function isChatHistoryClearVisible(): boolean {
|
||||
return readRuntimeEnv("VITE_CHAT_HISTORY_CLEAR_VISIBLE")?.toLowerCase() !== "false";
|
||||
}
|
||||
|
||||
/**
|
||||
* Read an integer setting supplied by ``runtime-config.js``.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user