Pārlūkot izejas kodu

add 新增分组按钮

huangsn 5 gadi atpakaļ
vecāks
revīzija
d607a94377
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  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 React from 'react'
 import { FilterTable } from 'wptpc-design'
 import { FilterTable } from 'wptpc-design'
 import { thanos } from '@/conf/config'
 import { thanos } from '@/conf/config'
+import { Button } from 'antd'
 
 
 const apiUrl = `${thanos}/thanos-admin/api/v1/group/list`
 const apiUrl = `${thanos}/thanos-admin/api/v1/group/list`
 
 
@@ -11,6 +12,7 @@ class GroupList extends React.PureComponent {
   }
   }
 
 
   filterSetting = {
   filterSetting = {
+    rfBtnsJsx: <Button>新增分组</Button>,
     isClearSearch: true,
     isClearSearch: true,
     formFields: [
     formFields: [
       {
       {
@@ -72,7 +74,7 @@ class GroupList extends React.PureComponent {
     ],
     ],
     getRefresh: refresh => {
     getRefresh: refresh => {
       this.refresh = refresh
       this.refresh = refresh
-    },   
+    },
   }
   }
 
 
   render () {
   render () {