Browse Source

clean default

nameczz 4 years ago
parent
commit
479164f292
1 changed files with 7 additions and 7 deletions
  1. 7 7
      client/src/pages/collections/Create.tsx

+ 7 - 7
client/src/pages/collections/Create.tsx

@@ -48,25 +48,25 @@ const CreateCollection: FC<CollectionCreateProps> = ({ handleCreate }) => {
   const { t: warningTrans } = useTranslation('warning');
 
   const [form, setForm] = useState({
-    collection_name: 'collection_2',
-    description: 'collection desc',
+    collection_name: '',
+    description: '',
     autoID: true,
   });
   const [fields, setFields] = useState<Field[]>([
     {
       data_type: DataTypeEnum.Int64,
       is_primary_key: true,
-      name: 'age',
-      description: 'primary key',
+      name: '',
+      description: '',
       isDefault: true,
       id: generateId(),
     },
     {
       data_type: DataTypeEnum.FloatVector,
       is_primary_key: false,
-      name: 'vector_1',
-      dimension: '20',
-      description: 'float vector',
+      name: '',
+      dimension: '',
+      description: '',
       isDefault: true,
       id: generateId(),
     },