king
2025-05-23 d5edf87014863eceaa44f28809ae4b54a39b9a8e
src/tabviews/zshare/actionList/tabbutton/index.jsx
@@ -188,7 +188,7 @@
      if (!menu) {
        notification.warning({
          top: 92,
          message: dict['no_perm'] || '菜单已删除或没有访问权限!',
          message: dict['no_perm'] || `没有${btn.MenuName ? `菜单《${btn.MenuName}》的` : '此菜单的'}访问权限!`,
          duration: 5
        })
        return
@@ -213,9 +213,9 @@
      MKEmitter.emit('openNewTab')
    }
    // if (window.GLOB.systemType === 'production') {
    //   MKEmitter.emit('queryTrigger', {menuId: btn.uuid, name: '标签页'})
    // }
    if (window.GLOB.systemType === 'production') {
      MKEmitter.emit('queryTrigger', {menuId: btn.uuid, name: '标签页'})
    }
  }
  triggerMenu = (tab) => {
@@ -285,7 +285,7 @@
    if (!menu) {
      notification.warning({
        top: 92,
        message: dict['no_perm'] || '菜单已删除或没有访问权限!',
        message: dict['no_perm'] || '没有此菜单的访问权限!',
        duration: 5
      })
      return
@@ -300,9 +300,9 @@
      MKEmitter.emit('openNewTab')
    }
    // if (window.GLOB.systemType === 'production') {
    //   MKEmitter.emit('queryTrigger', {menuId: btn.uuid, name: '标签页'})
    // }
    if (window.GLOB.systemType === 'production') {
      MKEmitter.emit('queryTrigger', {menuId: btn.uuid, name: '标签页'})
    }
  }
  render() {