|
|
@@ -166,7 +166,11 @@ export function useFetchUserInfo(id: string) {
|
|
|
|
|
|
throw new Error(data.errMsg);
|
|
|
},
|
|
|
- {suspense: true, enabled: Boolean(id.length)},
|
|
|
+ {
|
|
|
+ suspense: true,
|
|
|
+ enabled: Boolean(id.length),
|
|
|
+ cacheTime: 0,
|
|
|
+ },
|
|
|
);
|
|
|
|
|
|
const {setValue} = useFormContext<FormState>();
|