This commit is contained in:
focp212@naver.com
2025-11-05 17:36:10 +09:00
parent 3982b3c745
commit 2ce62c9ba1
16 changed files with 128 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ import {
MerchantMidResponse
} from '../model/types';
import { useStore } from '@/shared/model/store';
import { showAlert } from '@/widgets/show-alert';
export const InfoWrap = () => {
const { t } = useTranslation();
@@ -32,6 +33,11 @@ export const InfoWrap = () => {
};
merchantMid(params).then((rs: MerchantMidResponse) => {
setData(rs);
}).catch((e: any) => {
if(e.response?.data?.error?.message){
showAlert(e.response?.data?.error?.message);
return;
}
});
};