king
2024-07-03 cf5189bd7ac75df2b96a98a04546ec4581e1aea9
2024-07-03
3个文件已修改
14 ■■■■■ 已修改文件
src/assets/img/map.jpg 补丁 | 查看 | 原始文档 | blame | 历史
src/pc/createview/index.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mobdesign/menuform/index.jsx 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/img/map.jpg

src/pc/createview/index.jsx
@@ -175,6 +175,10 @@
              config.components = this.collectTB(config.components)
              config.version = 2.0
            }
            if (_config.getLocation) {
              config.getLocation = _config.getLocation
            }
          }
  
          param.LongParam = window.btoa(window.encodeURIComponent(JSON.stringify(config)))
src/views/mobdesign/menuform/index.jsx
@@ -21,9 +21,9 @@
  state = {}
  componentDidMount() {
    const { config, adapters } = this.props
    const { config } = this.props
    if (adapters.includes('wxmini') && config.getLocation === 'true') {
    if (config.getLocation === 'true') {
      window.GLOB.getLocation = true
    }
  }
@@ -289,9 +289,9 @@
              )}
            </Form.Item>
          </Col> : null}
          {adapters.includes('wxmini') ? <Col span={24}>
          <Col span={24}>
            <Form.Item label={
              <Tooltip placement="topLeft" title="开启时,在小程序中可获取用户所在经纬度。">
              <Tooltip placement="topLeft" title="开启后数据源中将替换 @mk_longitude@、@mk_latitude@,在小程序中将获取用户所在经纬度。">
                <QuestionCircleOutlined className="mk-form-tip" />
                定位
              </Tooltip>
@@ -305,7 +305,7 @@
                </Radio.Group>
              )}
            </Form.Item>
          </Col> : null}
          </Col>
          {adapters.includes('weixin') || adapters.includes('wxmini') ? <Col span={24}>
            <Form.Item label={
              <Tooltip placement="topLeft" title="使用默认时请在子应用设置分享信息,使用url参数会使用上页参数替换相应字段(@field@)。注:使用自定义或url参数时会分享当前页面。">