mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 17:54:30 +08:00
show confirm to allow user to init categories after signed up
This commit is contained in:
@@ -469,6 +469,7 @@ export default {
|
||||
'Enable Animate': 'Enable Animate',
|
||||
'Enable Auto Dark Mode': 'Enable Auto Dark Mode',
|
||||
'You have been successfully registered': 'You have been successfully registered',
|
||||
'Do you want to initialize transaction categories now?': 'Do you want to initialize transaction categories now?',
|
||||
'Unable to sign up': 'Unable to sign up',
|
||||
'User registration is disabled': 'User registration is disabled',
|
||||
'Unable to get user profile': 'Unable to get user profile',
|
||||
|
||||
@@ -469,6 +469,7 @@ export default {
|
||||
'Enable Animate': '启用动画',
|
||||
'Enable Auto Dark Mode': '启用自动深色模式',
|
||||
'You have been successfully registered': '注册成功',
|
||||
'Do you want to initialize transaction categories now?': '您是否想现在初始化交易分类?',
|
||||
'Unable to sign up': '无法注册',
|
||||
'User registration is disabled': '用户注册已禁用',
|
||||
'Unable to get user profile': '无法获取用户信息',
|
||||
|
||||
@@ -179,6 +179,10 @@ export default {
|
||||
|
||||
self.$toast('You have been successfully registered');
|
||||
router.navigate('/');
|
||||
|
||||
self.$confirm('Do you want to initialize transaction categories now?', () => {
|
||||
router.navigate('/category/default?type=0');
|
||||
});
|
||||
}).catch(error => {
|
||||
self.$logger.error('failed to sign up', error);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user