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 = () =>
new VueRouter({
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
// 这个方法 是控制滚动条
// 如果 retuen falsy || {} ,则不发生滚动

View File

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