From 92bd815250054f79473bfe10df31b93c996e32ea Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期一, 06 十一月 2023 17:51:04 +0800
Subject: [PATCH] 工艺列表的更新按钮状态修改

---
 src/views/dashboard/components/ProcessInfo.vue |    4 ++--
 src/components.d.ts                            |    3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/components.d.ts b/src/components.d.ts
index e028f6c..a257981 100644
--- a/src/components.d.ts
+++ b/src/components.d.ts
@@ -28,4 +28,7 @@
     RouterLink: typeof import('vue-router')['RouterLink']
     RouterView: typeof import('vue-router')['RouterView']
   }
+  export interface ComponentCustomProperties {
+    vInfiniteScroll: typeof import('element-plus/es')['ElInfiniteScroll']
+  }
 }
diff --git a/src/views/dashboard/components/ProcessInfo.vue b/src/views/dashboard/components/ProcessInfo.vue
index fcc3045..c14bb31 100644
--- a/src/views/dashboard/components/ProcessInfo.vue
+++ b/src/views/dashboard/components/ProcessInfo.vue
@@ -13,8 +13,8 @@
     </div>
     <div v-if="craftModel.number == task?.Procedure?.processModelNumber" class="tip-current">褰撳墠浣跨敤</div>
     <div class="btn">
-      <!-- :disabled="craftModel.isUpdate?false:true" -->
-      <el-button type="primary" class="color_organge" @click="onUpdateClick">
+      <!--  -->
+      <el-button type="primary" :disabled="craftModel.isUpdate ? false : true" @click="onUpdateClick">
         <el-icon v-if="loading" color="#fff" :size="16" class="refresh-top-icon">
           <Loading />
         </el-icon>

--
Gitblit v1.8.0