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