刘翔宇-旅管家 3 years ago
parent d20e5ef139
commit 0e97acbc74

@ -2,5 +2,5 @@
ENV = 'production'
# base api
VUE_APP_BASE_API = '/prod-api'
VUE_APP_BASE_API = ''

@ -66,8 +66,8 @@ export function generaMenu(routes, data) {
} else {
const menu = {
path: item.url === '#' ? item.id + '_key' : item.url,
component: item.path === '#' ? Layout : loadView(item.path),
path: (item.path === '#'||item.path == '' ? item.id + '_key' : item.path),
component: (item.path === '#'||item.path == '' ? Layout : loadView(item.path)),
// hidden: true,
children: [],
name: 'menu_' + item.id,

@ -24,8 +24,8 @@ module.exports = {
* In most cases please use '/' !!!
* Detail: https://cli.vuejs.org/config/#publicpath
*/
publicPath: '/',
outputDir: 'dist',
publicPath: '/admin/',
outputDir: '/Users/liuxiangyu/Work/yunyubang/yunyubang-service/public/admin',
assetsDir: 'static',
css: {
loaderOptions: { // 向 CSS 相关的 loader 传递选项

Loading…
Cancel
Save