浏览代码

注册时,默认的动物是狗

sw 6 天之前
父节点
当前提交
fbac61b24a
共有 1 个文件被更改,包括 12 次插入1 次删除
  1. 12 1
      src/states/patientTypeSlice.ts

+ 12 - 1
src/states/patientTypeSlice.ts

@@ -18,7 +18,18 @@ const initialState: PatientTypeState = {
   items: [],
   loading: false,
   error: null,
-  current: null,
+  current: {
+    id: '0',
+    patient_type_id: 'Dog',
+    patient_type_name: 'Dog',
+    patient_type_local: 'Dog',
+    //patient_type_name_local:"Dog",
+    patient_type_description: 'Dog',
+    sort: 2,
+    is_enabled: true,
+    product: 'VETDROS',
+    is_pre_install: true,
+  },
 };
 
 export const setCurrentPatientType = createAction<PatientType | null>(