module-menu-vue 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "module-menu-vue",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "城市大数据平台菜单--Vue版",
5
5
  "main": "/index.js",
6
6
  "scripts": {
@@ -187,7 +187,7 @@ export default {
187
187
  async toModulePage (nameStr) {
188
188
  // 针对HBJK的标签管理,从菜单权限数据中获取动态路径
189
189
  if (this.stash === 'HBJK' && nameStr === '标签管理') {
190
- const menuItem = this.sessionMenu?.find(item => item.name === '标签管理');
190
+ const menuItem = this.sessionMenu.find(item => item.name === '标签管理');
191
191
  if (menuItem && menuItem.path) {
192
192
  window.open(menuItem.path, '_blank');
193
193
  return;