king
2023-08-27 da64ab0923bf8817fc8599a6e37b953ce38f64c8
src/views/tabledesign/menuform/index.jsx
@@ -1,9 +1,8 @@
import React, {Component} from 'react'
import PropTypes from 'prop-types'
import { Form, Row, Col, Input, Select, notification, Radio, Switch } from 'antd'
import { Form, Row, Col, Input, Select, notification, Switch } from 'antd'
import Api from '@/api'
import options from '@/store/options.js'
import './index.scss'
const { TextArea } = Input
@@ -76,7 +75,7 @@
  getMenus = () => {
    const { MenuId, config } = this.props
    Api.getSystemConfig({func: 's_get_pc_menus', systemType: options.sysType, debug: 'Y'}).then(result => {
    Api.getCloudConfig({func: 's_get_pc_menus', systemType: window.GLOB.sysType, debug: 'Y'}).then(result => {
      if (result.status) {
        let thdMenu = null
        let thdMenuList = []
@@ -324,10 +323,11 @@
                  }
                ]
              })(
                <Radio.Group onChange={(e) => {this.selectChange('OpenType', e.target.value)}}>
                  <Radio value="newtab">标签页</Radio>
                  <Radio value="newpage">新页面</Radio>
                </Radio.Group>
                <Select onChange={(value) => {this.selectChange('OpenType', value)}}>
                  <Select.Option value="newtab">标签页</Select.Option>
                  <Select.Option value="newpage">新页面(标签页)</Select.Option>
                  <Select.Option value="view">新页面(全屏)</Select.Option>
                </Select>
              )}
            </Form.Item>
          </Col>