Merge pull request '修改银行卡跳转' (#116) from xbx into master
Reviewed-on: http://git.luyuan.tk/luyuan/beelink/pulls/116
This commit is contained in:
commit
d46e11a51a
@ -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)
|
||||
|
@ -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;
|
||||
}
|
||||
@ -33,5 +33,9 @@ export function useI18n() {
|
||||
const i18n = inject(i18nSymbol);
|
||||
if (!i18n) throw new Error("No i18n provided!!!");
|
||||
|
||||
return i18n;
|
||||
}
|
||||
|
||||
export function geti18n(){
|
||||
return i18n;
|
||||
}
|
Loading…
Reference in New Issue
Block a user