eight
2024-09-29 cfb54db98e8b6353346afea41b5d9267211d1779
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 "空闲";