From f3d4db769ba9b51b799d981511a710fd443d0e08 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 21 四月 2025 12:18:03 +0800 Subject: [PATCH] Merge branch 'master' into positec --- src/pc/quotecomponent/settingform/index.jsx | 11 +++-------- 1 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/pc/quotecomponent/settingform/index.jsx b/src/pc/quotecomponent/settingform/index.jsx index 96a871f..14f2f3e 100644 --- a/src/pc/quotecomponent/settingform/index.jsx +++ b/src/pc/quotecomponent/settingform/index.jsx @@ -1,12 +1,7 @@ import React, {Component} from 'react' -import PropTypes from 'prop-types' import { Form, Row, Col, Select } from 'antd' class SettingForm extends Component { - static propTpyes = { - dict: PropTypes.object, // 瀛楀吀椤� - } - state = { appMenus: [] } @@ -16,7 +11,7 @@ if (appMenus) { try { appMenus = JSON.parse(appMenus) - appMenus = appMenus.filter(item => item.keys_type !== 'index') + appMenus = appMenus.filter(item => item.keys_type === 'navbar') } catch (e) { appMenus = [] } @@ -61,12 +56,12 @@ <Form {...formItemLayout}> <Row gutter={24}> <Col span={20}> - <Form.Item label="鑿滃崟"> + <Form.Item label="鑿滃崟鏍�"> {getFieldDecorator('menu', { initialValue: '', rules: [{ required: true, - message: '璇烽�夋嫨鑿滃崟!' + message: '璇烽�夋嫨鑿滃崟鏍�!' }] })( <Select> -- Gitblit v1.8.0