king
2025-01-16 325aa13d3b61d1c066f8fcab107003ef36713df3
src/menu/components/share/actioncomponent/actionform/index.jsx
@@ -495,6 +495,9 @@
        shows.push('execSuccess', 'execError', 'tipTitle')
      } else if (_funcType === 'mkUnsubscribe' || _funcType === 'reAuth') {
        shows.push('tipTitle')
      } else if (_funcType === 'reSystem') {
        shows.push('tipTitle', 'Ot')
        reOptions.Ot = requireOptions.filter(op => op.value === 'requiredSgl')
      } else if (_funcType === 'closetab') {
        shows.push('refreshTab')
      } else if (_funcType === 'scan') {
@@ -1280,6 +1283,19 @@
            delete values.extraParam
          }
          if (values.refreshTab && values.refreshTab.length && ['pop', 'prompt', 'exec'].includes(values.OpenType) && window.GLOB.customMenu) {
            let id = values.refreshTab[values.refreshTab.length - 1]
            if (id === window.GLOB.customMenu.uuid) {
              if (values.execSuccess !== 'never' || (values.syncComponent && values.syncComponent.length)) {
                notification.warning({
                  top: 92,
                  message: '按钮刷新菜单为当前菜单时,成功后的组件刷新(或关闭标签)将失效!',
                  duration: 5
                })
              }
            }
          }
          resolve(values)
        } else {
          reject(err)