mirror of
https://git.fightbot.fun/hxuanyu/BingPaper.git
synced 2026-02-15 15:49:32 +08:00
增加前后端图片传输时的缓存支持,优化前端页面
This commit is contained in:
@@ -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 文档'
|
||||
}
|
||||
}
|
||||
]
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user