agilebuilder-ui 1.0.47 → 1.0.48
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
|
@@ -104,6 +104,7 @@ export default {
|
|
|
104
104
|
this.firstLeafMenu.code + '~~' + this.firstLeafMenu.i18nValue
|
|
105
105
|
window.$vueApp.config.globalProperties._selectMenu = this.defaultActive
|
|
106
106
|
}
|
|
107
|
+
console.log('getFirstMenu=====firstLeafMenu333=', this.firstLeafMenu)
|
|
107
108
|
if (this.firstLeafMenu && this.firstLeafMenu.fullPath) {
|
|
108
109
|
// 跳转到第一个页面
|
|
109
110
|
if (
|
|
@@ -125,7 +126,11 @@ export default {
|
|
|
125
126
|
'/iframe-page/page'
|
|
126
127
|
)
|
|
127
128
|
// this.$router.push({ path: '/iframe-page/page', query: query })
|
|
128
|
-
|
|
129
|
+
let routePath = '/tab-content-iframe-index'
|
|
130
|
+
if(this.isDevp){
|
|
131
|
+
routePath = '/devp-project/setting'
|
|
132
|
+
}
|
|
133
|
+
this.$router.push({path: routePath, query: query})
|
|
129
134
|
} else {
|
|
130
135
|
const query = {
|
|
131
136
|
customSystem: this.systemCode,
|
|
@@ -161,8 +166,11 @@ export default {
|
|
|
161
166
|
// 表示需要选中指定的菜单
|
|
162
167
|
this.isSelectFirst = true
|
|
163
168
|
} else {
|
|
164
|
-
|
|
169
|
+
if(!this.isDevp){
|
|
170
|
+
shouldSelectMenu = this.getFirstMenuWithCookie(menus)
|
|
171
|
+
}
|
|
165
172
|
}
|
|
173
|
+
console.log('getFirstMenu=====shouldSelectMenu111=', shouldSelectMenu)
|
|
166
174
|
if (this.isSelectFirst && !shouldSelectMenu && menus && menus.length > 0) {
|
|
167
175
|
for (let i = 0; i < menus.length; i++) {
|
|
168
176
|
const menu = menus[i]
|
|
@@ -173,6 +181,7 @@ export default {
|
|
|
173
181
|
}
|
|
174
182
|
}
|
|
175
183
|
}
|
|
184
|
+
console.log('getFirstMenu=====shouldSelectMenu222=', shouldSelectMenu)
|
|
176
185
|
return shouldSelectMenu
|
|
177
186
|
},
|
|
178
187
|
getShouldSelectMenu(menu, currentMenuCode) {
|