eight
2024-09-29 cfb54db98e8b6353346afea41b5d9267211d1779
just refactor
已修改1个文件
3 ■■■■ 文件已修改
src/views/ecg/devmanage/DeviceForm.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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 "空闲";