|
@@ -47,7 +47,7 @@ export const InviteBusiness: React.FC = (props: any) => {
|
|
|
return
|
|
|
|
|
|
}
|
|
|
- if (imgList.length == 0) {
|
|
|
+ if (imgList.length === 0) {
|
|
|
console.log(imgList)
|
|
|
Toast({
|
|
|
type: 'fail',
|
|
@@ -155,7 +155,6 @@ export const InviteBusiness: React.FC = (props: any) => {
|
|
|
upload-text="上传图片"
|
|
|
maxCount={1}
|
|
|
accept='*'
|
|
|
- value={imgList}
|
|
|
beforeRead={saveImgListFile}
|
|
|
|
|
|
/>
|