src/utils/utils-custom.js
@@ -709,7 +709,7 @@ * @description 重置组件配置 * @return {String} item 组件信息 */ static resetComponentConfig = (item) => { static resetComponentConfig = (item, appType) => { if (item.type === 'navbar') { return item } @@ -744,6 +744,16 @@ item.wrap.autoExec = md5(commonId + item.wrap.autoExec) } if (appType !== 'mob') { if (item.wrap.pagestyle === 'slide') { item.wrap.pagestyle = 'page' } } else { if (item.wrap.pagestyle === 'switch') { item.wrap.pagestyle = 'page' } } item.subcards.forEach(card => { card.uuid = this.getuuid()