visuddhinanda 2 лет назад
Родитель
Сommit
0a1f8d489a
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      dashboard/src/pages/admin/relation/list.tsx

+ 3 - 3
dashboard/src/pages/admin/relation/list.tsx

@@ -144,9 +144,6 @@ const Widget = () => {
     <>
       <ProTable<IRelation, IParams>
         actionRef={ref}
-        search={{
-          filterType: "light",
-        }}
         columns={[
           {
             title: intl.formatMessage({
@@ -443,6 +440,9 @@ const Widget = () => {
         options={{
           search: true,
         }}
+        search={{
+          filterType: "light",
+        }}
         toolBarRender={() => [
           <DataImport
             url="/v2/relation-import"