support editing templates for mobile version

This commit is contained in:
MaysWind
2024-08-04 23:21:11 +08:00
parent 99ae18d06d
commit 77a5ccd796
4 changed files with 499 additions and 48 deletions
+10
View File
@@ -297,6 +297,16 @@ const routes = [
async: asyncResolve(TemplateListPage),
beforeEnter: [checkLogin]
},
{
path: '/template/add',
async: asyncResolve(TransactionEditPage),
beforeEnter: [checkLogin]
},
{
path: '/template/edit',
async: asyncResolve(TransactionEditPage),
beforeEnter: [checkLogin]
},
{
path: '(.*)',
redirect: '/'