king
2025-01-24 e1cee96b38805bcccf48e7bcb9d296f2bc54c720
src/menu/components/share/actioncomponent/formconfig.jsx
@@ -214,7 +214,8 @@
      { value: 'mkBinding', text: '开通扫码登录' },
      { value: 'mkUnBinding', text: '用户解绑' },
      { value: 'mkUnsubscribe', text: '注销账户' },
      { value: 'reAuth', text: '切换系统(清空缓存-小程序)' },
      { value: 'reAuth', text: '切换授权码 / 小程序清空缓存' },
      { value: 'reSystem', text: '切换系统' },
      { value: 'clearCache', text: '清空本地配置' },
      { value: 'copyurl', text: '复制链接地址' },
      { value: 'expPdf', text: '导出PDF' },
@@ -361,6 +362,16 @@
    if (typeof(card.openmenu) !== 'string') {
      card.openmenu = ''
    }
  }
  if (card.syncComponents && card.syncComponents[0] && Array.isArray(card.syncComponents[0])) {
    card.syncComponents = card.syncComponents.map((item, i) => {
      return {
        syncComId: item,
        label: '',
        uuid: 'fixed' + i
      }
    })
  }
  let forms = [
@@ -842,6 +853,10 @@
        value: 'never',
        text: '不刷新'
      }, {
        value: 'line',
        text: '刷新行',
        $disabled: !['table_normaltable', 'table_editable', 'table_basetable', 'card_datacard', 'card_dualdatacard'].includes(alltype)
      }, {
        value: 'grid',
        text: '刷新当前组件'
      }, {
@@ -1072,6 +1087,22 @@
      required: false,
      forbid: isApp || viewType === 'popview',
      options: menulist
    },
    {
      type: 'radio',
      key: 'urlPar',
      label: 'URL变量',
      initVal: card.urlPar || 'false',
      tooltip: '刷新菜单时是否清除URL变量。',
      required: false,
      options: [{
        value: 'true',
        text: '清空'
      }, {
        value: 'false',
        text: '不清空'
      }],
      forbid: isApp || viewType === 'popview',
    },
    {
      type: !appType ? 'cascader' : 'select',
@@ -2315,6 +2346,9 @@
        value: 'never',
        text: '不刷新'
      }, {
        value: 'line',
        text: '刷新行'
      }, {
        value: 'grid',
        text: '刷新当前组件'
      }, {
@@ -2481,6 +2515,22 @@
      options: menulist
    },
    {
      type: 'radio',
      key: 'urlPar',
      label: 'URL变量',
      initVal: card.urlPar || 'false',
      tooltip: '刷新菜单时是否清除URL变量。',
      required: false,
      options: [{
        value: 'true',
        text: '清空'
      }, {
        value: 'false',
        text: '不清空'
      }],
      forbid: viewType === 'popview',
    },
    {
      type: 'cascader',
      key: 'openmenu',
      label: '打开菜单',