style(system): remove percent value for downloading button

This commit is contained in:
Timi
2026-11-13 16:52:22 +08:00
parent af1c95c8dd
commit 288114103f
2 changed files with 9 additions and 3 deletions
+2
View File
@@ -82,6 +82,8 @@ declare module 'vue' {
TSlider: typeof import('tdesign-mobile-vue')['Slider']
TStepper: typeof import('tdesign-mobile-vue')['Stepper']
TSwipeCell: typeof import('tdesign-mobile-vue')['SwipeCell']
TSwiper: typeof import('tdesign-mobile-vue')['Swiper']
TSwiperItem: typeof import('tdesign-mobile-vue')['SwiperItem']
TSwitch: typeof import('tdesign-mobile-vue')['Switch']
TTable: typeof import('tdesign-mobile-vue')['Table']
TTabPanel: typeof import('tdesign-mobile-vue')['TabPanel']
+7 -3
View File
@@ -44,9 +44,13 @@
</t-button>
<template v-else-if="updateStage === 'downloading'">
<t-progress class="progress" stroke-width=".5rem" :percentage="percent" />
<t-button class="cell-button" theme="primary" size="large" disabled>
<span v-text="`下载中 ${percent}%`" />
</t-button>
<t-button
class="cell-button"
theme="primary"
size="large"
disabled
content="正在下载.."
/>
</template>
<t-button
v-else-if="updateStage === 'apply'"