From aed1ff699140de60131bf9cc1332c98063c66721 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 03 七月 2020 09:14:51 +0800 Subject: [PATCH] 2020-07-03 --- src/views/mobdesign/index.jsx | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/views/mobdesign/index.jsx b/src/views/mobdesign/index.jsx index ee64a7e..22748d1 100644 --- a/src/views/mobdesign/index.jsx +++ b/src/views/mobdesign/index.jsx @@ -3,7 +3,6 @@ import { DndProvider } from 'react-dnd' import { fromJS } from 'immutable' import HTML5Backend from 'react-dnd-html5-backend' -// import { SketchPicker } from 'react-color' import { Icon, Tabs, notification, Modal } from 'antd' import Api from '@/api' @@ -153,14 +152,20 @@ </div> {appType === 'mob' && config ? <div className="mob-shell"> - <MobShell config={config} deleteCard={this.deleteCard} editCard={this.editCard} editId={editElem ? editElem.uuid : ''} handleList={this.updateConfig} /> + <MobShell + config={config} + deleteCard={this.deleteCard} + editCard={this.editCard} + editId={editElem ? editElem.uuid : ''} + handleList={this.updateConfig} + /> </div> : null } <div className="mob-setting"> {config ? <Tabs defaultActiveKey="2" animated={false} size="small"> <TabPane tab="閰嶇疆" key="1"> {/* <SketchPicker /> */} - <Controller /> + <Controller editElem={editElem} /> </TabPane> <TabPane tab="鏁版嵁婧�" key="2"> <DataSource config={config} updateConfig={this.updateConfig} /> -- Gitblit v1.8.0