chore: remove强制设置
This commit is contained in:
parent
b3c8dc1d4a
commit
dba8ec332a
|
@ -249,10 +249,10 @@ const QEditor = ({ lng }) => {
|
|||
}
|
||||
}, []);
|
||||
// 强制更新为我设置的API
|
||||
useEffect(() => {
|
||||
dispatch(setApiKey("sk-GHuPUV6ERD8wVmmr36FeB8D809D34d93Bb857c009f6aF9Fe"));
|
||||
dispatch(setUpsreamUrl("https://one.paperai.life"));
|
||||
});
|
||||
// useEffect(() => {
|
||||
// dispatch(setApiKey("sk-GHuPUV6ERD8wVmmr36FeB8D809D34d93Bb857c009f6aF9Fe"));
|
||||
// dispatch(setUpsreamUrl("https://one.paperai.life"));
|
||||
// });
|
||||
const handleTextChange = debounce(async function (delta, oldDelta, source) {
|
||||
if (source === "user") {
|
||||
// 获取编辑器内容
|
||||
|
|
Loading…
Reference in New Issue
Block a user