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
|
@@ -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
|
|
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;
|