king
2021-12-15 d76045be1cd5a030ed68269246d7ae1956a5ff06
src/views/rolemanage/index.jsx
@@ -809,6 +809,14 @@
    if (app.typename === 'pc') {
      route = 'pcdesign'
    }
    if (item.type === 'navbar') {
      notification.warning({
        top: 92,
        message: '导航栏不可单独编辑,请在含有导航栏的页面中修改。',
        duration: 5
      })
      return
    }
    window.open(window.location.href.replace(/#.+/ig, `#/${route}/${window.btoa(window.encodeURIComponent(JSON.stringify({...app, MenuID: item.MenuID, type: 'app'})))}`))
  }