From 08ffcf9d7ffafaa82d8de7f9b5fcfdb49e9c3688 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期三, 05 十一月 2025 17:33:54 +0800
Subject: [PATCH] 动态溯源 1. 修复CO因子文本没有正常显示的问题;
---
src/stores/device.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/stores/device.js b/src/stores/device.js
index f17f37e..82adade 100644
--- a/src/stores/device.js
+++ b/src/stores/device.js
@@ -21,7 +21,9 @@
return deviceApi
.fethchDevice({ type: type, page, pageSize })
.then((res) => {
- deviceList.value = res.data;
+ deviceList.value = res.data.sort((a, b) => {
+ return a.deviceCode < b.deviceCode ? -1 : 1;
+ });
return res;
});
});
--
Gitblit v1.9.3