+
{
+ upload(file);
+ return false; // 阻止 antd 默认上传,走我们自己的端点
+ }}
+ >
+
+
+ {value && (
+
+ 当前:
+ {thumb(value, 90, true)}
+
+ )}
+ {existing.length > 0 && (
+
+
或选择已有图:
+
{existing.map((u) => thumb(u, 56, u === value))}
+
+ )}
+
+ );
+}
+
function ActivityFormModal({
open,
onClose,
@@ -655,13 +740,22 @@ function ActivityFormModal({
>
)}
{platform === 'taobao' && (
-