Skip to content

Commit

Permalink
chore: papermanage
Browse files Browse the repository at this point in the history
  • Loading branch information
14790897 committed Feb 18, 2024
1 parent 8ab1bdd commit f2b6bde
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions components/PaperManagement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ const PaperManagement = ({ lng }) => {
const showPaperManagement = useAppSelector(
(state) => state.state.showPaperManagement
);
const editorContent = useAppSelector((state) => state.auth.editorContent);
const referencesRedux = useAppSelector((state) => state.auth.referencesRedux);
//vip状态
const isVip = useAppSelector((state) => state.state.isVip);
//获取的论文数量列表状态
Expand Down Expand Up @@ -109,6 +111,13 @@ const PaperManagement = ({ lng }) => {
}

const handleAddPaperClick = async () => {
// 先手动保存本地内容到云端
// await submitPaper(
// supabase,
// editorContent,
// referencesRedux,
// paperNumberRedux
// );
// 添加一个新的空白论文
await submitPaper(
supabase,
Expand Down

0 comments on commit f2b6bde

Please sign in to comment.