king
2023-03-16 b26252d4e842e2561b5295b0d07ae98a4eaa3fe6
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()