Commit 3dc3762f authored by Maofei94's avatar Maofei94

perf: 支持图片上传

parent f0974e0c
Pipeline #22886 skipped with stages
......@@ -269,7 +269,7 @@ class PicturesWall extends React.Component<PicturesWallType> {
<CheckCircleFilled />
</span>
</div>
<span>{fileName}</span>
<span title={fileName}>{fileName}</span>
</div>
);
}
......@@ -393,9 +393,9 @@ class PicturesWall extends React.Component<PicturesWallType> {
>
<Tabs defaultActiveKey={imgBed[0]?.moduleName} tabPosition="left" style={{ height: 520 }}>
{imgBed.map((item, i) => {
if(item.moduleName!==picType){
return
}
if(item.moduleName==picType || item.moduleName=='CityTemp'){
const child = [...item.child] || [];
console.log(picType)
if(item.fileUrls.length > 0){
......@@ -424,6 +424,7 @@ class PicturesWall extends React.Component<PicturesWallType> {
</div>
</TabPane>
);
}
})}
{/* <TabPane tab="更多" key="more">
<Result status="500" title="温馨提示" subTitle="更多素材, 正在筹备中..." />
......
......@@ -82,12 +82,9 @@ const AddModal = props => {
};
const onFinish = value => {};
const handleSelect = e => {
console.log(e);
e === '复制集' ? setShowReplicaSet(true) : setShowReplicaSet(false);
console.log(form.getFieldsValue());
};
useEffect(() => {
console.log(type);
switch (type) {
case 'add':
form.resetFields();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment