From 4c390d209b45d516fbe2f7552d26048687c83972 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Wed, 05 Aug 2026 14:29:25 +0800
Subject: [PATCH] feat:tab切换太快的时候内容不对应

---
 applications/drone-command/src/views/basicManage/deviceStock/DeviceScrapDiaLog.vue |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/applications/drone-command/src/views/basicManage/deviceStock/DeviceScrapDiaLog.vue b/applications/drone-command/src/views/basicManage/deviceStock/DeviceScrapDiaLog.vue
index 374884a..9f6e7de 100644
--- a/applications/drone-command/src/views/basicManage/deviceStock/DeviceScrapDiaLog.vue
+++ b/applications/drone-command/src/views/basicManage/deviceStock/DeviceScrapDiaLog.vue
@@ -13,7 +13,7 @@
 						<el-input class="command-input" v-model="formData.disposeWay" maxlength="200" type="textarea" placeholder="请输入" clearable />
 					</el-form-item>
 				</el-col>
-				<div v-if="checkAreaBind" class="warning-text"> 注:该设备已绑定区域,报废设备该区域无法正常使用,是否报废?</div>
+				<div v-if="checkAreaBind" class="warning-text"> 注:该设备已绑定{{checkAreaBind}}区域,报废设备该区域无法正常使用,是否报废?</div>
 			</el-row>
 		</el-form>
 		<template #footer>
@@ -108,7 +108,7 @@
 	formData.value.deviceId = row.id
 	getCheckAreaBind()
 }
-const checkAreaBind = ref(false)
+const checkAreaBind = ref('')
 function getCheckAreaBind() {
 	fivDevicelcheckAreaBindApi({
 		deviceId: formData.value.deviceId
@@ -118,7 +118,6 @@
 }
 
 onMounted(() => {
-	getCheckAreaBind()
 })
 
 defineExpose({ open })

--
Gitblit v1.9.3