king
2022-11-18 f05ce61d55d421926229e50136c3b18c0dd9c262
src/menu/components/form/simple-form/options.jsx
@@ -38,6 +38,13 @@
  let menu = window.GLOB.customMenu
  modules = MenuUtils.getSupModules(menu.components, config.uuid, menu.interfaces)
  if (wrap.supModule && wrap.supModule.length > 0 && wrap.supModule[0] !== 'empty') {
    let has = MenuUtils.checkSupModules(modules, wrap.supModule.slice(-1)[0])
    if (!has) {
      wrap.supModule = ''
    }
  }
  const wrapForm = [
    {
      type: 'text',
@@ -128,7 +135,7 @@
    },
    {
      type: 'radio',
      field: 'subEnable',
      field: 'enable',
      label: '提交',
      initval: wrap.enable || 'true',
      required: false,
@@ -139,6 +146,18 @@
    },
    {
      type: 'radio',
      field: 'closeEnable',
      label: '关闭',
      initval: wrap.closeEnable || 'false',
      tooltip: '管理系统中会关闭当前标签,子应用中为返回上一页。',
      required: false,
      options: [
        {value: 'true', label: '显示'},
        {value: 'false', label: '隐藏'},
      ]
    },
    {
      type: 'radio',
      field: 'goback',
      label: '空值返回',
      initval: wrap.goback || 'false',