Selaa lähdekoodia

add 新增分组按钮

huangsn 5 vuotta sitten
vanhempi
sitoutus
d607a94377
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 3 1
      src/pages/fengkong/features/group.js

+ 3 - 1
src/pages/fengkong/features/group.js

@@ -1,6 +1,7 @@
 import React from 'react'
 import { FilterTable } from 'wptpc-design'
 import { thanos } from '@/conf/config'
+import { Button } from 'antd'
 
 const apiUrl = `${thanos}/thanos-admin/api/v1/group/list`
 
@@ -11,6 +12,7 @@ class GroupList extends React.PureComponent {
   }
 
   filterSetting = {
+    rfBtnsJsx: <Button>新增分组</Button>,
     isClearSearch: true,
     formFields: [
       {
@@ -72,7 +74,7 @@ class GroupList extends React.PureComponent {
     ],
     getRefresh: refresh => {
       this.refresh = refresh
-    },   
+    },
   }
 
   render () {