king
2020-07-13 269f0759a64927c2ea06a9d7de92ecfd0be7df5b
src/views/mobdesign/index.jsx
@@ -131,8 +131,14 @@
    config.components = config.components.map(component => {
      if (component.uuid === proper.componentId) {
        Object.keys(component).forEach(key => {
          if (component[key].editable && component[key].uuid === proper.uuid) {
          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]
              }
            }
          }
        })
      }
@@ -180,7 +186,6 @@
            <div className="mob-setting">
              {config ? <Tabs defaultActiveKey="1" animated={false} size="small">
                <TabPane tab="配置" key="1">
                  {/* <SketchPicker /> */}
                  <Controller editElem={editElem} updateStyle={this.updateStyle} />
                </TabPane>
                <TabPane tab="数据源" key="2">