From 46f79b491173d284a4900d19e7aecf7509481438 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 21 一月 2022 17:21:25 +0800 Subject: [PATCH] 2022-01-21 --- src/templates/formtabconfig/actionform/index.jsx | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/templates/formtabconfig/actionform/index.jsx b/src/templates/formtabconfig/actionform/index.jsx index 42bba10..503b392 100644 --- a/src/templates/formtabconfig/actionform/index.jsx +++ b/src/templates/formtabconfig/actionform/index.jsx @@ -1,10 +1,10 @@ import React, {Component} from 'react' import PropTypes from 'prop-types' -import { Form, Row, Col, Input, Select, Icon, Radio, notification, Tooltip, InputNumber } from 'antd' +import { Form, Row, Col, Input, Select, Radio, notification, Tooltip, InputNumber } from 'antd' import { QuestionCircleOutlined } from '@ant-design/icons' import { btnIcons, btnClasses, formRule } from '@/utils/option.js' -// import Utils from '@/utils/utils.js' +import MkIcon from '@/components/mk-icon' import './index.scss' const { TextArea } = Input @@ -30,7 +30,7 @@ text: this.props.dict['header.form.action.update'] }, { value: 'insertOrUpdate', - text: this.props.dict['header.form.action.insertOrUpdate'] + text: '娣诲姞鎴栦慨鏀�' }], returnoptions: [{ // 杩斿洖鍚�-涓嶅埛鏂般�佸埛鏂伴〉闈€�佸埛鏂拌〃鏍� value: 'never', @@ -331,7 +331,7 @@ > {item.options.map((option, index) => <Select.Option id={`${index}`} title={option.text} key={`${index}`} value={option.value}> - {item.key === 'icon' && option.value && <Icon type={option.value} />} {option.text} + {item.key === 'icon' && option.value && <MkIcon type={option.value} />} {option.text} </Select.Option> )} </Select> -- Gitblit v1.8.0