flat: 暂存

This commit is contained in:
Apcallover
2024-04-17 20:47:32 +08:00
parent d87b590896
commit da802c31e8
2 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ Vue.use(VueRouter);
export const createRouter = () => export const createRouter = () =>
new VueRouter({ new VueRouter({
mode: 'history', mode: 'history',
base: 'manage', base: '/manage/',
// https://router.vquejs.org/zh/guide/advanced/scroll-behavior.html#%E5%BC%82%E6%AD%A5%E6%BB%9A%E5%8A%A8 // https://router.vquejs.org/zh/guide/advanced/scroll-behavior.html#%E5%BC%82%E6%AD%A5%E6%BB%9A%E5%8A%A8
// 这个方法 是控制滚动条 // 这个方法 是控制滚动条
// 如果 retuen falsy || {} ,则不发生滚动 // 如果 retuen falsy || {} ,则不发生滚动

View File

@@ -1,6 +1,6 @@
module.exports = { module.exports = {
//路径前缀 //路径前缀
// publicPath: "manage", publicPath: "/manage/",
outputDir: "manage", outputDir: "manage",
lintOnSave: true, lintOnSave: true,
productionSourceMap: false, productionSourceMap: false,
@@ -23,7 +23,7 @@ module.exports = {
port: 1888, port: 1888,
proxy: { proxy: {
"/api": { "/api": {
target: 'http://192.168.1.106:8000', target: 'http://10.165.0.173 :8000',
ws: true, ws: true,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {