From e8edfdadb561cd83bf6e1c3e00d55b8cc2aee6d5 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 17 十月 2022 17:57:34 +0800 Subject: [PATCH] 2022-10-17 --- src/pc/quotecomponent/settingform/index.jsx | 13 +++---------- 1 files changed, 3 insertions(+), 10 deletions(-) diff --git a/src/pc/quotecomponent/settingform/index.jsx b/src/pc/quotecomponent/settingform/index.jsx index e575e0d..14f2f3e 100644 --- a/src/pc/quotecomponent/settingform/index.jsx +++ b/src/pc/quotecomponent/settingform/index.jsx @@ -1,14 +1,7 @@ import React, {Component} from 'react' -import PropTypes from 'prop-types' import { Form, Row, Col, Select } from 'antd' -import './index.scss' - class SettingForm extends Component { - static propTpyes = { - dict: PropTypes.object, // 瀛楀吀椤� - } - state = { appMenus: [] } @@ -18,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 = [] } @@ -63,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