eight
2024-10-08 7dd1cf55eda4666b75f559b526837d0b4a6f2522
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 "空闲";