From cd42d41344f0f780e0c0ac0a3625aeb78160f9dd Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 19 六月 2020 19:58:52 +0800 Subject: [PATCH] 2020-06-19 --- src/mob/modelsource/dragsource/index.jsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mob/modelsource/dragsource/index.jsx b/src/mob/modelsource/dragsource/index.jsx index 1a00725..6ae90a6 100644 --- a/src/mob/modelsource/dragsource/index.jsx +++ b/src/mob/modelsource/dragsource/index.jsx @@ -3,7 +3,7 @@ import { Tooltip } from 'antd' import './index.scss' -const SourceElement = ({content}) => { +const MobSourceElement = ({content}) => { const [, drag] = useDrag({ item: content }) return ( <div ref={drag} className="mob-source-item" style={{backgroundImage: 'url(' + content.url + ')', ...content.style}}> @@ -15,4 +15,4 @@ </div> ) } -export default SourceElement \ No newline at end of file +export default MobSourceElement \ No newline at end of file -- Gitblit v1.8.0