import React, { useState } from "react"; import {ImageUploader,Toast} from "antd-mobile"; export default function UploadImgs(props) { const maxCount = 6; const [fileList, setFileList] = useState([ ]); return ( { Toast.show(`最多选择 ${maxCount} 张图片,你多选了 ${exceed} 张`); }} >
+
); }