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/zshare/editcomponent/index.jsx | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/templates/zshare/editcomponent/index.jsx b/src/templates/zshare/editcomponent/index.jsx index cbc5832..f26d9e3 100644 --- a/src/templates/zshare/editcomponent/index.jsx +++ b/src/templates/zshare/editcomponent/index.jsx @@ -2,6 +2,7 @@ import PropTypes from 'prop-types' import { fromJS } from 'immutable' import { Modal, Spin, notification, Button } from 'antd' +import { UnlockOutlined, SnippetsOutlined } from '@ant-design/icons' import Api from '@/api' import Utils from '@/utils/utils.js' @@ -93,7 +94,7 @@ if (targetKeys.length === 0) { notification.warning({ top: 92, - message: dict['form.required.select'] + dict['header.form.thawbutton'], + message: dict['form.required.select'] + '瑙e喕鎸夐挳', duration: 5 }) } else { @@ -203,11 +204,11 @@ return ( <div style={{display: 'inline-block'}}> - {MenuID ? <Button className="mk-border-green" onClick={this.handleThaw} icon="unlock">{dict['header.form.thawbutton']}</Button> : null} - <Button style={{borderColor: '#40a9ff', color: '#40a9ff'}} onClick={() => this.setState({pasteVisible: true})} icon="snippets">{dict['header.form.paste']}</Button> + {MenuID ? <Button className="mk-border-green" onClick={this.handleThaw}><UnlockOutlined /> 瑙e喕鎸夐挳</Button> : null} + <Button style={{borderColor: '#40a9ff', color: '#40a9ff'}} onClick={() => this.setState({pasteVisible: true})}><SnippetsOutlined /> {dict['header.form.paste']}</Button> {/* 瑙e喕鎸夐挳妯℃�佹 */} <Modal - title={dict['header.form.thawbutton']} + title="瑙e喕鎸夐挳" visible={this.state.thawVisible} onOk={this.thawBtnSubmit} onCancel={() => {this.setState({thawVisible: false, thawbtnlist: null, targetKeys: []})}} -- Gitblit v1.8.0