From cfb54db98e8b6353346afea41b5d9267211d1779 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期日, 29 九月 2024 14:06:49 +0800
Subject: [PATCH] just refactor
---
src/views/ecg/devmanage/DeviceForm.vue | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/views/ecg/devmanage/DeviceForm.vue b/src/views/ecg/devmanage/DeviceForm.vue
index 2f465d9..0efc91d 100644
--- a/src/views/ecg/devmanage/DeviceForm.vue
+++ b/src/views/ecg/devmanage/DeviceForm.vue
@@ -162,6 +162,7 @@
formRef.value?.resetFields()
}
+const categoryOptions = ref<DictDataType[]>([])
const brandOptions = ref<OptionsVO[]>([])
const modelOptions = ref<OptionsVO[]>([])
@@ -179,8 +180,6 @@
formData.value.model = modelOptions.value.length === 0 ? "" : modelOptions.value[0].value
}
-
-const categoryOptions = ref<DictDataType[]>([])
const tranlateDevState = (state) => {
if (state === 0) return "绌洪棽";
--
Gitblit v1.9.3