@lambo-design/pro-layout 1.0.0-beta.426 → 1.0.0-beta.427
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
|
@@ -144,7 +144,7 @@ export default {
|
|
|
144
144
|
let dataClone = _.cloneDeep(realData);
|
|
145
145
|
|
|
146
146
|
// 如果配置了显示首页且显示样式是应用式,在列表最前面添加首页项
|
|
147
|
-
if (dataClone && dataClone.length > 0 && this.systemInfo.backToHome && this.systemInfo.backToHomeStyle === "app") {
|
|
147
|
+
if (dataClone && dataClone.length > 0 && this.systemInfo.backToHome === "1" && this.systemInfo.backToHomeStyle === "app") {
|
|
148
148
|
const homeItem = {
|
|
149
149
|
appId: 'backHome',
|
|
150
150
|
name: this.systemInfo.backToHomeText || '首页',
|
|
@@ -204,7 +204,7 @@ export default {
|
|
|
204
204
|
}
|
|
205
205
|
if (this.navList.length > 0) {
|
|
206
206
|
let appId = this.navList[0].appId;
|
|
207
|
-
if (this.systemInfo.backToHome && this.systemInfo.backToHomeStyle === "app") {
|
|
207
|
+
if (this.systemInfo.backToHome === "1" && this.systemInfo.backToHomeStyle === "app") {
|
|
208
208
|
appId = this.navList[1].appId;
|
|
209
209
|
}
|
|
210
210
|
for (let i = 0; i < this.navList.length; i++) {
|