diff --git a/nkebao/src/pages/content/Content.tsx b/nkebao/src/pages/content/Content.tsx
index 02aea9bbc..211bb080b 100644
--- a/nkebao/src/pages/content/Content.tsx
+++ b/nkebao/src/pages/content/Content.tsx
@@ -105,9 +105,6 @@ function CardMenu({ onView, onEdit, onDelete, onViewMaterials }: {
padding: 4,
}}
>
-
{ onView(); setOpen(false); }} style={{ padding: 8, cursor: "pointer", display: "flex", alignItems: "center", borderRadius: 6, fontSize: 14, gap: 6, transition: "background .2s" }} onMouseOver={e => (e.currentTarget as HTMLDivElement).style.background="#f5f5f5"} onMouseOut={e => (e.currentTarget as HTMLDivElement).style.background=""}>
- 查看
-
{ onEdit(); setOpen(false); }} style={{ padding: 8, cursor: "pointer", display: "flex", alignItems: "center", borderRadius: 6, fontSize: 14, gap: 6, transition: "background .2s" }} onMouseOver={e => (e.currentTarget as HTMLDivElement).style.background="#f5f5f5"} onMouseOut={e => (e.currentTarget as HTMLDivElement).style.background=""}>
编辑
@@ -210,7 +207,7 @@ export default function Content() {
};
const handleEdit = (id: string) => {
- navigate(`/content/${id}/edit`);
+ navigate(`/content/new/${id}`);
};
const handleDelete = async (id: string) => {
diff --git a/nkebao/src/pages/workspace/moments-sync/new.tsx b/nkebao/src/pages/workspace/moments-sync/new.tsx
index 3d8c3b703..b575393fc 100644
--- a/nkebao/src/pages/workspace/moments-sync/new.tsx
+++ b/nkebao/src/pages/workspace/moments-sync/new.tsx
@@ -405,16 +405,6 @@ export default function NewMomentsSyncTask() {
)}
-
-
);
}
\ No newline at end of file