Skip to content

Commit 130363c

Browse files
author
lucifer
committed
chore: 软文
1 parent bd57393 commit 130363c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

‎src/App.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ function App() {
201201
</>
202202
)}
203203
{page === "" && (
204-
<Tabs type="card" activeKey={tab}>
205-
<TabPane key="code-template" tab="代码模板" onTabClick={setTab}>
204+
<Tabs type="card" activeKey={tab} onChange={setTab}>
205+
<TabPane key="code-template" tab="代码模板">
206206
<CodeTemplates tempaltes={tempaltes}></CodeTemplates>
207207
</TabPane>
208208
<TabPane key="data-structure-vis" tab="数据结构可视化">

‎src/solutionTemplate/index.jsx

+3-2
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,10 @@ export default function SolutionTemplate() {
203203
<ul>
204204
<li>
205205
由于浏览器 url
206-
传参限制,题目信息和代码暂时不会自动带过来后续考虑使用服务器转存实现自动带入的功能。
206+
传参限制,题目信息和代码暂时不会自动带过来后续考虑使用服务器转存实现自动带入的功能。
207207
</li>
208-
<li>后续考虑支持更多主题,以及用户自定义主题功能。</li>
208+
<li>目前公式无法预览,原因暂时不明,不过后期会支持。</li>
209+
<li>后续考虑支持更多主题,以及用户自定义主题。</li>
209210
</ul>
210211
<div className="line">
211212
编程语言:

0 commit comments

Comments
 (0)