增加前后端图片传输时的缓存支持,优化前端页面

This commit is contained in:
2026-01-27 13:34:23 +08:00
parent be0bcb4d51
commit 6dfffe1236
9 changed files with 546 additions and 761 deletions

View File

@@ -1,6 +1,7 @@
import { createRouter, createWebHistory } from 'vue-router'
import Home from '@/views/Home.vue'
import ImageView from '@/views/ImageView.vue'
import ApiDocs from '@/views/ApiDocs.vue'
const router = createRouter({
history: createWebHistory(),
@@ -20,6 +21,14 @@ const router = createRouter({
meta: {
title: '图片详情'
}
},
{
path: '/api-docs',
name: 'ApiDocs',
component: ApiDocs,
meta: {
title: 'API 文档'
}
}
]
})