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