Skip to content

Commit 37dd619

Browse files
Update index.md
1 parent 0f4c468 commit 37dd619

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blog/posts/rfc2/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ const styleMap = new Map<string,{targetClass:string, currentApplyClass:string}>(
137137

138138
此时更新 Map,注册为 `Title_button"->{targetClass:"Title_button", currentApplyClass:"Title_button_2"}`
139139

140-
这时候,要替换到标识符被注册为`Title_button` 的类名就变为 `Title_button_2`,原有的 `Title_button` 由于不被替换,所以无法生效
140+
这时候,要替换到标识符被注册为`Title_button` 的类名就变为 `Title_button_2`,原有的 `Title_button` 不再生效
141141

142142
由此可见,切换类名的脚本要发出事件
143143

0 commit comments

Comments
 (0)