Skip to content

Commit 0200b5f

Browse files
committed
perf: 注释
1 parent 587b2a5 commit 0200b5f

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

README.en-US.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ The **React-Ts-Template** project template aims to reduce developers' tedious co
121121
> [React-Ts-Template](https://github.com/huangmingfu/react-ts-template)
122122
123123
## Note
124-
> Currently, some UI libraries do not support React 19. Please be cautious when installing and using them.
125-
> This project does not use any features specific to version 19. If needed, you can directly downgrade to version 18 using the following command.
124+
> 1.Currently, some UI libraries do not support React 19. Please be cautious when installing and using them.
125+
> 2.This project does not use any features specific to version 19. If needed, you can directly downgrade to version 18 using the following command.
126126
```bash
127127
128128
```

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ GitHub 项目地址:[React-Ts-Template](https://github.com/huangmingfu/react-t
123123
> [React-Ts-Template](https://github.com/huangmingfu/react-ts-template)
124124
125125
## 注意
126-
> 目前有一些ui库还未支持React19,注意甄别安装使用。
127-
> 本项目并未使用19版本的相关特性,如需要,可以直接使用如下命令降级到18版本。
126+
> 1.目前有一些ui库还未支持React19,注意甄别安装使用。
127+
> 2.本项目并未使用19版本的相关特性,如需要,可以直接使用如下命令降级到18版本。
128128
```bash
129129
130130
```

src/router/utils/route-guard.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
* 不确定的影响(来源网上评论):
44
* 在useEffect 里去做路由守卫的话是否会出现页面内容加载完后以及触发接口调用后才跳出页面的情况。
55
*
6-
* React-Ts-Template 默认使用的是第一种实现方式,如果更喜欢下面这种,可以根据情况修改;
7-
* 如果使用默认的实现,可以将此文件删除。
6+
* React-Ts-Template 默认使用的是第一种实现方式(loader),如果更喜欢下面这种,可以根据情况修改;
7+
* 如果使用默认的loader实现,【可以将此文件删除
88
*
9-
* 其他封装拦截组件方式参考
9+
* 其他拦截组件封装方式参考
1010
* https://segmentfault.com/a/1190000044439881
1111
*/
1212
import { FC, ReactNode, useEffect } from 'react';

src/styles/scss/global.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/** 公共样式放置处 */
1+
/** 公共样式放置处,main.tsx 中被引入 */
22
@import '../css/reset.css'; // 重置样式
33

44
/** v-show */

0 commit comments

Comments
 (0)