Skip to content

Commit 3a21221

Browse files
committed
feat: Preserve the original content
1 parent b925075 commit 3a21221

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

src/complexityRating/index.jsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@ const getColumns = () => [
1919
{
2020
key: "size",
2121
dataIndex: "size",
22+
// title: "数据规模",
2223
title: t("Locale.complexityQuickCheck.dataScale"),
2324
align: "center",
2425
},
2526
{
2627
key: "complexity",
2728
dataIndex: "complexity",
29+
// title: "算法可接受时间复杂度",
2830
title: t("Locale.complexityQuickCheck.timeComplexity"),
2931
align: "center",
3032
render: (t) => {
@@ -82,6 +84,7 @@ export default function ComplexityRating() {
8284
href="https://lucifer.ren/blog/2020/12/21/shuati-silu3/"
8385
target="_blank"
8486
>
87+
{/* 不懂为什么?点这里 */}
8588
{t("Locale.complexityQuickCheck.tips")}
8689
</Button>
8790

src/dataStructureVis/index.jsx

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,18 +180,24 @@ export default function DataStrutureVis() {
180180
>
181181
<ol>
182182
<li>
183+
{/* 暂不支持编辑功能。如果需要编辑,可通过先“使用”再“保存”,最后“删除”原有的数据,从而间接实现。 */}
183184
{t("Locale.dataStructureVisualization.explain1")}
184185
</li>
185186
<li>
186-
{t("Locale.dataStructureVisualization.explain2")}
187+
{/* 模板可以增量使用。点击”去使用“的下拉三角,并选择增量使用即可。 */}
187188

189+
{t("Locale.dataStructureVisualization.explain2")}
188190
</li>
189191
<li>
190-
{t("Locale.dataStructureVisualization.explain3")}
191-
192+
{/* 使用的模板会根据你鼠标的位置生成。比如你的鼠标在点(100,
193+
100),那么模板会整体偏移 (100, 100)个单位
194+
。如果此时模板并不是正好以(100,
195+
100)为左上顶点,说明模板本身制作的时候就不是以(0,0)为左上顶点制作的。大家制作自定义模板的话需要注意这一点。 */}
196+
{t("Locale.dataStructureVisualization.explain3")}
192197
</li>
193198
<li>
194-
{t("Locale.dataStructureVisualization.explain4")}
199+
{/* 你也可以选择直接使用原生 excalidraw */}
200+
{t("Locale.dataStructureVisualization.explain4")}
195201

196202
<a href="https://excalidraw.com/">Website</a>
197203
</li>

0 commit comments

Comments
 (0)