feat:
1. 重构CopyButton 2. 修改Router特性 3. 修改CopyButton传参 4. 添加options页面
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
Hello Options Page
|
||||
</body>
|
||||
</html>
|
||||
@@ -43,7 +43,7 @@ function App() {
|
||||
const collapsedNavItems = navItems.slice(visibleItems);
|
||||
|
||||
return (
|
||||
<Router>
|
||||
<Router future={{v7_startTransition: true, v7_relativeSplatPath: true}}>
|
||||
<div className="app">
|
||||
<nav className="nav">
|
||||
<div className="nav-content">
|
||||
|
||||
Reference in New Issue
Block a user