From 328be53b4461397cd96da79c7e40c892bdb94e2a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 15 六月 2025 21:00:39 +0800 Subject: [PATCH] 2025-06-15 --- src/pc/components/navbar/normal-navbar/menusetting/index.jsx | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/pc/components/navbar/normal-navbar/menusetting/index.jsx b/src/pc/components/navbar/normal-navbar/menusetting/index.jsx index 18f00b1..5bf9bd1 100644 --- a/src/pc/components/navbar/normal-navbar/menusetting/index.jsx +++ b/src/pc/components/navbar/normal-navbar/menusetting/index.jsx @@ -1,10 +1,9 @@ import React, {Component} from 'react' import PropTypes from 'prop-types' import { is, fromJS } from 'immutable' -import { Icon, Modal } from 'antd' +import { Modal } from 'antd' +import { MenuOutlined } from '@ant-design/icons' -import zhCN from '@/locales/zh-CN/model.js' -import enUS from '@/locales/en-US/model.js' import MenuTable from './menutable' import './index.scss' @@ -15,7 +14,6 @@ } state = { - dict: sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS, visible: false } @@ -33,18 +31,18 @@ render () { const { config } = this.props - const { visible, dict } = this.state + const { visible } = this.state return ( <div className="model-menu-setting-wrap"> - <Icon type="menu" title="鑿滃崟" onClick={() => this.setState({ visible: true })}/> + <MenuOutlined title="鑿滃崟" onClick={() => this.setState({ visible: true })}/> <Modal wrapClassName="popview-modal" title="鑿滃崟缂栬緫" visible={visible} width={950} maskClosable={false} - okText={dict['model.submit']} + okText="鎻愪氦" onOk={this.verifySubmit} onCancel={() => { this.setState({ visible: false }) }} destroyOnClose -- Gitblit v1.8.0