king
2020-07-14 f36141f3075edf9d41928d64f759ad6bd1b1ac60
src/views/mobdesign/index.jsx
@@ -131,12 +131,17 @@
    config.components = config.components.map(component => {
      if (component.uuid === proper.componentId) {
        Object.keys(component).forEach(key => {
          if (component[key].uuid === proper.uuid) {
            component[key].style = {...component[key].style, ...proper.style}
            // eslint-disable-next-line
            for (let index in component[key].style) {
              if (component[key].style[index] === '') {
                delete component[key].style[index]
          let _uuid = component[key].uuid
          if (_uuid && (_uuid === proper.uuid || _uuid === proper.classId)) {
            if (component[key].substyle) {
            } else {
              component[key].style = {...component[key].style, ...proper.style}
              // eslint-disable-next-line
              for (let index in component[key].style) {
                if (component[key].style[index] === '') {
                  delete component[key].style[index]
                }
              }
            }
          }