king
2022-08-17 a6c0423a5164d0bbecfc27d59b7ea140cdab6fca
2022-08-17
4个文件已修改
35 ■■■■ 已修改文件
src/views/mobdesign/index.jsx 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mobdesign/menuform/index.jsx 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/pcdesign/index.jsx 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/pcdesign/menuform/index.jsx 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mobdesign/index.jsx
@@ -1323,9 +1323,8 @@
      config.loginview = false
      config.tabview = false
      if (config.permission !== 'true') {
      if (roleParam.children.length === 0) {
        roleParam.pass = true
        roleParam.children = []
      }
      config.components.forEach(item => {
src/views/mobdesign/menuform/index.jsx
@@ -30,23 +30,6 @@
    }
    this.props.updateConfig(_config)
    // if (key === 'cacheUseful') {
    //   this.props.updateConfig({...config, cacheUseful: value})
    // } else if (key === 'timeUnit') {
    //   this.props.updateConfig({...config, timeUnit: value})
    // } else if (key === 'advertUrl') {
    //   this.props.updateConfig({...config, advertUrl: value})
    // } else if (key === 'advertTime') {
    //   this.props.updateConfig({...config, advertTime: value})
    // } else if (key === 'pullRefresh') {
    //   this.props.updateConfig({...config, pullRefresh: value})
    // } else if (key === 'statusBarbgColor') {
    //   this.props.updateConfig({...config, statusBarbgColor: value})
    // } else if (key === 'permission') {
    //   this.props.updateConfig({...config, permission: value})
    // } else if (key === 'share') {
    //   this.props.updateConfig({...config, share: value})
    // }
  }
  // 菜单名称
@@ -130,7 +113,7 @@
              )}
            </Form.Item>
          </Col>
          <Col span={24}>
          {/* <Col span={24}>
            <Form.Item label={
              <Tooltip placement="topLeft" title="跳过权限验证时,页面中组件及按钮不在进行权限控制。">
                <QuestionCircleOutlined className="mk-form-tip" />
@@ -146,7 +129,7 @@
                </Radio.Group>
              )}
            </Form.Item>
          </Col>
          </Col> */}
          <Col span={24}>
            <Form.Item label={
              <Tooltip placement="topLeft" title="使用登录验证后,用户必须登录系统后才可以访问,注:含有登录组件的页面中无效。">
src/views/pcdesign/index.jsx
@@ -1053,9 +1053,8 @@
      nodes.login = true
      nodes.children = []
    }
    if (config.permission !== 'true') {
    if (nodes.children.length === 0) {
      nodes.pass = true
      nodes.children = []
    }
    return nodes
src/views/pcdesign/menuform/index.jsx
@@ -25,8 +25,8 @@
      this.props.updateConfig({...config, cacheUseful: value})
    } else if (key === 'timeUnit') {
      this.props.updateConfig({...config, timeUnit: value})
    } else if (key === 'permission') {
      this.props.updateConfig({...config, permission: value})
    // } else if (key === 'permission') {
    //   this.props.updateConfig({...config, permission: value})
    }
  }
@@ -111,7 +111,7 @@
              )}
            </Form.Item>
          </Col>
          <Col span={24}>
          {/* <Col span={24}>
            <Form.Item label={
              <Tooltip placement="topLeft" title="跳过权限验证时,页面中组件及按钮不在进行权限控制。">
                <QuestionCircleOutlined className="mk-form-tip" />
@@ -127,7 +127,7 @@
                </Radio.Group>
              )}
            </Form.Item>
          </Col>
          </Col> */}
          <Col span={24}>
            <Form.Item label={
              <Tooltip placement="topLeft" title="使用登录验证后,用户必须登录系统后才可以访问,注:含有登录组件的页面中无效。">