duy 2 роки тому
батько
коміт
88abbe1fe5
1 змінених файлів з 2 додано та 1 видалено
  1. 2 1
      src/views/archives/rolling.vue

+ 2 - 1
src/views/archives/rolling.vue

@@ -39,7 +39,7 @@
                     </div>
                 
                     <HcTooltip keys="archives_rolling_btn_update">
-                        <el-button type="primary" hc-btn :loading="updateArchiveLoad" @click="updateArchive">
+                        <el-button type="primary" hc-btn :loading="updateArchiveLoad" :disabled="propercent > 0 && propercent < 100" @click="updateArchive">
                             <HcIcon name="git-pull-request" />
                             <span>立即更新立卷</span>
                         </el-button>
@@ -286,6 +286,7 @@ const Verification = () => {
         timer.value = setInterval(() => {
             if (count.value == 100) {
                 console.log('停着')
+                window.$message.success('更新成功')
                 clearInterval(timer.value)
             } else {
                 updateArchiveprogress()// 请求数据