From a70940450c021a47e69abdf8fa8f7f98594601cc Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 13 十二月 2019 17:36:54 +0800
Subject: [PATCH] 2019-12-13

---
 src/templates/comtableconfig/actionform/index.jsx |   53 +----------------------------------------------------
 1 files changed, 1 insertions(+), 52 deletions(-)

diff --git a/src/templates/comtableconfig/actionform/index.jsx b/src/templates/comtableconfig/actionform/index.jsx
index 7903f59..14250ea 100644
--- a/src/templates/comtableconfig/actionform/index.jsx
+++ b/src/templates/comtableconfig/actionform/index.jsx
@@ -1,61 +1,10 @@
 import React, {Component} from 'react'
 import PropTypes from 'prop-types'
 import { Form, Row, Col, Input, Select, Icon, Radio, notification, Tooltip } from 'antd'
+import { btnIcons, btnClasses } from '@/utils/option.js'
 import './index.scss'
 
 const { TextArea } = Input
-
-const btnIcons = [{
-  MenuID: '',
-  text: 'unset'
-}, {
-  MenuID: 'plus',
-  text: 'plus'
-}, {
-  MenuID: 'plus-circle',
-  text: 'plus-circle'
-}, {
-  MenuID: 'edit',
-  text: 'edit'
-}, {
-  MenuID: 'form',
-  text: 'form'
-}, {
-  MenuID: 'close',
-  text: 'close'
-}, {
-  MenuID: 'close-circle',
-  text: 'close-circle'
-}, {
-  MenuID: 'delete',
-  text: 'delete'
-}]
-
-const btnClasses = [{
-  MenuID: 'default',
-  text: '榛樿锛堥粦杈圭櫧搴曪級'
-}, {
-  MenuID: 'primary',
-  text: '钃濊壊'
-}, {
-  MenuID: 'yellow',
-  text: '榛勮壊'
-}, {
-  MenuID: 'danger',
-  text: '绾㈣壊'
-}, {
-  MenuID: 'green',
-  text: '缁胯壊'
-}, {
-  MenuID: 'dgreen',
-  text: '娣辩豢鑹�'
-}, {
-  MenuID: 'purple',
-  text: '绱壊'
-}, {
-  MenuID: 'gray',
-  text: '鐏拌壊'
-}]
 
 class MainSearch extends Component {
   static propTpyes = {

--
Gitblit v1.8.0