1. 重构CopyButton
2. 修改Router特性
3. 修改CopyButton传参
4. 添加options页面
This commit is contained in:
雨霖铃
2026-01-28 00:42:05 +08:00
parent b33194bd2d
commit 4edb2f1a47
5 changed files with 135 additions and 90 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ export function TimestampExecution() {
</button>
<CopyButton
text={currentTimestamp.toString()}
text={String(currentTimestamp)}
buttonText="复制时间戳"
aria-label="复制当前时间戳到剪贴板"
/>