Skip to content

Commit 1aa3b57

Browse files
committed
fix:点击自定义ai报错
1 parent d37fd66 commit 1aa3b57

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

chat2db-client/src/blocks/Setting/UpdateDetection/index.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ const UpdateDetection = memo(
4141
const [notificationApi, notificationDom] = notification.useNotification();
4242
const timesRef = React.useRef(0);
4343

44-
useEffect(() => {
45-
checkUpdate();
46-
}, []);
44+
// useEffect(() => {
45+
// checkUpdate();
46+
// }, []);
4747

4848
const close = () => {};
4949

chat2db-client/src/typings/ai.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export enum AIType {
2-
// CHAT2DBAI = 'CHAT2DBAI',
2+
CHAT2DBAI = 'CHAT2DBAI',
33
ZHIPUAI = 'ZHIPUAI',
44
BAICHUANAI='BAICHUANAI',
55
WENXINAI='WENXINAI',

0 commit comments

Comments
 (0)