Skip to content

Commit 5fb4a49

Browse files
committed
docs: 调整说明文案
1 parent c3a11eb commit 5fb4a49

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/pages/crafts/data/FetchProgress.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const bytesToText = (bytes: number) => {
3434
const { isLoading, execute: download } = useAsyncState(async () => {
3535
// ================== 创建测试文件 ==================
3636
37-
btnText.value = '正在准备文件...'
37+
btnText.value = '正在创建模拟线程...'
3838
3939
const SIZE = 2 ** 30 // 1 GB
4040
@@ -46,6 +46,8 @@ const { isLoading, execute: download } = useAsyncState(async () => {
4646
}
4747
const workerURL = URL.createObjectURL(new Blob([`(${workerFn})(${SIZE})`], { type: 'text/javascript' }))
4848
49+
btnText.value = '正在准备文件...'
50+
4951
const worker = new Worker(workerURL, {
5052
name: 'demo-worker',
5153
type: 'module',

0 commit comments

Comments
 (0)