From 6e8e0747da238cda372a3c5084b1efb8538cf0cd Mon Sep 17 00:00:00 2001 From: jiannibang <271381693@qq.com> Date: Wed, 1 Feb 2023 16:31:11 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E7=BB=9F=E8=AE=A1?= =?UTF-8?q?=E8=AE=BE=E5=A4=87code=E6=9D=A5=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/composables/useStatistics.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/composables/useStatistics.js b/src/composables/useStatistics.js index b529e47..60bbb37 100644 --- a/src/composables/useStatistics.js +++ b/src/composables/useStatistics.js @@ -8,10 +8,10 @@ import { getStatistics } from '@/http/api' export const useStatistics = (tag, rest = {}) => { const store = useStore() const { currentFloor } = storeToRefs(store) - const { projectCode, deviceCode } = currentFloor.value + const { projectCode, machineCode } = currentFloor.value const params = { projectCode, - deviceCode, + deviceCode: machineCode, tag, ...rest }