Merge pull request '修改银行卡跳转' (#116) from xbx into master

Reviewed-on: http://git.luyuan.tk/luyuan/beelink/pulls/116
This commit is contained in:
luyuan 2020-11-03 17:05:30 +08:00
commit d46e11a51a
2 changed files with 8 additions and 2 deletions

View File

@ -287,6 +287,7 @@ export async function accountadd(data?: any) {
const res = await post<Liveaddrule>('wallect',data);
if(res.code==0){
message.success("新增成功")
router.push("/mine/wallet")
}
console.log(res)
@ -394,6 +395,7 @@ export async function deleteaccount(data: any) {
const res = await del<Liveaddrule>('wallect/' + data);
if(res.code==0){
message.success("删除成功")
router.push("/mine/wallet")
}
console.log(res)

View File

@ -22,9 +22,9 @@ const createI18n = (config: Config) => ({
});
const i18nSymbol = Symbol();
let i18n: any;
export function provideI18n(i18nConfig: Config) {
const i18n = createI18n(i18nConfig);
i18n = createI18n(i18nConfig);
provide(i18nSymbol, i18n);
return i18n;
}
@ -35,3 +35,7 @@ export function useI18n() {
return i18n;
}
export function geti18n(){
return i18n;
}