修改资金密码

This commit is contained in:
saplf
2019-09-06 14:57:20 +08:00
parent f8598d34f7
commit 0cbfc2bf54
9 changed files with 248 additions and 6 deletions

View File

@@ -4,6 +4,7 @@ import { Journal, FundBasic } from '@/types/common';
import { getFundList } from './service';
import { checkFundPwd, getFundBasic } from '@/services/common';
import { formatMessage } from 'umi-plugin-locale';
import { dispatch } from '@/utils/utils';
export interface HomeFundModelState {
refreshingList: boolean;
@@ -118,7 +119,7 @@ const FundModel: Model = {
cancelText: formatMessage({ id: 'common.cancel' }),
title: formatMessage({ id: 'common.prompt' }),
content: formatMessage({ id: 'home.fund.prompt' }),
onOk: () => { message.warn('暂未完成,请再次点击'); },
onOk: () => dispatch(routerRedux.push('/fundpwd')),
});
}
} catch (e) {