We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent beb8829 commit e411c68Copy full SHA for e411c68
1 file changed
app/store/config.ts
@@ -40,6 +40,7 @@ export const useAppConfig = createPersistStore(
40
max: max,
41
fieldProps: {
42
listType,
43
+ beforeUpload,
44
},
45
transform: (value: Array<{ thumbUrl?: string }>) => {
46
if (!value) return undefined;
@@ -58,6 +59,7 @@ export const useAppConfig = createPersistStore(
58
59
60
61
62
63
customRequest: async (options: any) => {
64
try {
65
const fileUrl = await uploadToGetFileUrl(options.file as File);
0 commit comments