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; }); });