feat: 打通业务与页面编辑入口
This commit is contained in:
1 parent
d0ef25cfb3
commit
20eb160abf
3 files changed
+32
-5
No files matched your search
@@ -59,6 +59,7 @@ interface PresentationEditorProps {
|
||||
brand: BrandProfile;
|
||||
loading?: boolean;
|
||||
error?: unknown;
|
||||
initialSelection?: PreviewSelection;
|
||||
}
|
||||
|
||||
function trustSection(
|
||||
@@ -174,13 +175,14 @@ export function PresentationEditor({
|
||||
brand,
|
||||
loading,
|
||||
error,
|
||||
initialSelection,
|
||||
}: PresentationEditorProps) {
|
||||
const [form] = Form.useForm<PresentationValues>();
|
||||
const queryClient = useQueryClient();
|
||||
const navigate = useNavigate();
|
||||
const breakpoints = Grid.useBreakpoint();
|
||||
const [activePage, setActivePage] = useState<string>();
|
||||
const [selection, setSelection] = useState<PreviewSelection>();
|
||||
const [selection, setSelection] = useState<PreviewSelection | undefined>(initialSelection);
|
||||
const [detailOfferingId, setDetailOfferingId] = useState<string>();
|
||||
const [recordDraft, setRecordDraft] = useState<{
|
||||
source: "offering" | "trust";
|
||||
|
||||
Reference in new issue
Block a user