mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-21 02:04:26 +08:00
show confirm to allow user to init categories after signed up
This commit is contained in:
@@ -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