From 62ebae424b86bb51f86d3d8852eb38450db9769a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 27 五月 2021 19:07:32 +0800 Subject: [PATCH] 2021-05-27 --- src/menu/components/form/normal-form/index.jsx | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/menu/components/form/normal-form/index.jsx b/src/menu/components/form/normal-form/index.jsx index fb1ae1f..7ccde07 100644 --- a/src/menu/components/form/normal-form/index.jsx +++ b/src/menu/components/form/normal-form/index.jsx @@ -8,6 +8,7 @@ import asyncComponent from '@/utils/asyncComponent' import asyncIconComponent from '@/utils/asyncIconComponent' import { getModalForm } from '@/templates/zshare/formconfig' +import { resetStyle } from '@/utils/utils-custom.js' import ModalForm from '@/templates/zshare/modalform' import MKEmitter from '@/utils/events.js' import Utils from '@/utils/utils.js' @@ -632,7 +633,7 @@ const { card, dict, group, appType } = this.state return ( - <div className="menu-normal-form-edit-box" style={{...card.style}} onClick={this.clickComponent} id={card.uuid}> + <div className="menu-normal-form-edit-box" style={resetStyle(card.style)} onClick={this.clickComponent} id={card.uuid}> <Popover overlayClassName="mk-popover-control-wrap" mouseLeaveDelay={0.2} mouseEnterDelay={0.2} content={ <div className="mk-popover-control"> <Icon className="plus" title="娣诲姞鍒嗙粍" onClick={this.addCard} type="plus" /> -- Gitblit v1.8.0