From af0db2414ced6089cdb829304a4409ea4231d57a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 25 十二月 2019 17:56:36 +0800 Subject: [PATCH] 2019-12-25 --- src/templates/comtableconfig/tabdragelement/index.jsx | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/templates/comtableconfig/tabdragelement/index.jsx b/src/templates/comtableconfig/tabdragelement/index.jsx index cb04567..f8c6c37 100644 --- a/src/templates/comtableconfig/tabdragelement/index.jsx +++ b/src/templates/comtableconfig/tabdragelement/index.jsx @@ -4,9 +4,13 @@ import { Tabs, Icon } from 'antd' import Utils from '@/utils/utils.js' import Card from './card' +import subtable from '@/assets/img/subtable.jpg' import './index.scss' const { TabPane } = Tabs +const photo = { + SubTable: subtable +} const Container = ({list, type, setting, placeholder, handleList, handleMenu, deleteMenu }) => { let target = null @@ -94,7 +98,7 @@ <Icon className="edit close" type="close" onClick={() => del(card)} /> </div> } key={`${index}`}> - {card.description} + <img src={photo[card.type]} alt=""/> </TabPane> ))} </Tabs> -- Gitblit v1.8.0