add transaction template

This commit is contained in:
MaysWind
2024-07-29 00:53:19 +08:00
parent 4c69243bef
commit de086aa29e
25 changed files with 2109 additions and 44 deletions
+7
View File
@@ -38,6 +38,8 @@ import CategoryPresetPage from '@/views/mobile/categories/PresetPage.vue';
import TagListPage from '@/views/mobile/tags/ListPage.vue';
import TemplateListPage from '@/views/mobile/templates/ListPage.vue';
function asyncResolve(component) {
return function({ resolve }) {
return resolve({
@@ -290,6 +292,11 @@ const routes = [
async: asyncResolve(TagListPage),
beforeEnter: [checkLogin]
},
{
path: '/template/list',
async: asyncResolve(TemplateListPage),
beforeEnter: [checkLogin]
},
{
path: '(.*)',
redirect: '/'