feat: 添加离屏文档创建和下载功能,优化录制逻辑

This commit is contained in:
雨霖铃
2026-01-29 19:35:55 +08:00
parent ed5e90f0fc
commit 0ff33cbeb3
8 changed files with 87 additions and 33 deletions
-1
View File
@@ -311,7 +311,6 @@ body {
.nav-list {
width: 100%;
justify-content: space-between;
align-items: center;
}
+3 -3
View File
@@ -1,13 +1,13 @@
import { HashRouter as Router, Routes, Route, NavLink } from 'react-router-dom';
import { useState, useEffect } from 'react';
import TimestampPage from '../../pages/TimestampPage';
// import {RecordeReplayPage} from '../../pages/RecordeReplayPage';
import RecordeReplayPage from '../../pages/RecordeReplayPage';
import './App.css';
const navItems = [
{ path: '/', label: '时间戳', element: <TimestampPage /> },
// {path: '/dzmy', label: '电子木鱼', element: <ElectronicWoodenFishPage/>},
// { path: '/recorde-replay', label: '录制与回放', element: <RecordeReplayPage /> },
{ path: '/recorde-replay', label: '录制与回放', element: <RecordeReplayPage /> },
];
function App() {
@@ -43,7 +43,7 @@ function App() {
const collapsedNavItems = navItems.slice(visibleItems);
return (
<Router future={{v7_startTransition: true, v7_relativeSplatPath: true}}>
<Router future={{ v7_startTransition: true, v7_relativeSplatPath: true }}>
<div className="app">
<nav className="nav">
<div className="nav-content">