flat: 暂存
This commit is contained in:
@@ -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 || {} ,则不发生滚动
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user