|
|
@@ -387,7 +387,8 @@ export default {
|
|
|
this.$message.warning('未找到对应菜单路径,请检查资源配置或权限!')
|
|
|
return
|
|
|
}
|
|
|
- this.$router.push('/' + pagePath)
|
|
|
+ const routeData = this.$router.resolve('/' + pagePath)
|
|
|
+ window.open(routeData.href, '_blank')
|
|
|
},
|
|
|
handleCollectClick(row) {
|
|
|
if (!this.isSetting) return
|
|
|
@@ -398,9 +399,7 @@ export default {
|
|
|
this.loading = true
|
|
|
try {
|
|
|
// 以原收藏为基础,叠加本次勾选变更,避免分页/筛选导致漏写
|
|
|
- const formIdSet = new Set(
|
|
|
- this.collectFormIds.map((id) => String(id))
|
|
|
- )
|
|
|
+ const formIdSet = new Set(this.collectFormIds.map((id) => String(id)))
|
|
|
Object.entries(this.collectChanges).forEach(([id, collected]) => {
|
|
|
if (collected) {
|
|
|
formIdSet.add(String(id))
|