Browse Source

:fire: defaultValue

visuddhinanda 3 years ago
parent
commit
028813a1dd
1 changed files with 1 additions and 2 deletions
  1. 1 2
      dashboard/src/components/dict/SelectCase.tsx

+ 1 - 2
dashboard/src/components/dict/SelectCase.tsx

@@ -233,11 +233,10 @@ const Widget = ({ defaultValue, onCaseChange }: IWidget) => {
       onCaseChange(value);
       onCaseChange(value);
     }
     }
   };
   };
-
+  console.log("case", defaultValue);
   return (
   return (
     <Cascader
     <Cascader
       options={options}
       options={options}
-      defaultValue={defaultValue}
       placeholder="Please select case"
       placeholder="Please select case"
       onChange={onChange}
       onChange={onChange}
     />
     />