Compare commits

...

3 Commits

Author SHA1 Message Date
658743b947 修改资源路径和路由前缀 2024-04-25 16:24:08 +08:00
ebae3aeb0c 修改资源目录 2024-04-23 17:04:08 +08:00
0c4783e088 调整接口地址 2024-04-23 16:56:09 +08:00
4 changed files with 6 additions and 6 deletions

View File

@ -4,5 +4,5 @@ NODE_ENV = production
ENV = 'staging' ENV = 'staging'
# base api # base api
VUE_APP_BASE_API = '/stage-api' VUE_APP_BASE_API = ''

View File

@ -16,7 +16,7 @@ const SettingMer = {
// 服务器地址 // 服务器地址
httpUrl: VUE_APP_API_URL, httpUrl: VUE_APP_API_URL,
// 接口请求地址 // 接口请求地址
https: VUE_APP_API_URL + '/mer', https: VUE_APP_API_URL + '/merApi',
// socket连接 // socket连接
wsSocketUrl: VUE_APP_WS_URL, wsSocketUrl: VUE_APP_WS_URL,
// 路由标题 // 路由标题

View File

@ -11,7 +11,7 @@ module.exports = {
// 路由前缀 // 路由前缀
roterPre: '/merchant', roterPre: '/merchant',
// 路由标题 // 路由标题
title: '加载中...', title: '惠农生活 - 商户端',
/** /**
* @type {boolean} true | false * @type {boolean} true | false
* @description Whether show the settings right-panel * @description Whether show the settings right-panel

View File

@ -24,10 +24,10 @@ module.exports = {
* In most cases please use '/' !!! * In most cases please use '/' !!!
* Detail: https://cli.vuejs.org/config/#publicpath * Detail: https://cli.vuejs.org/config/#publicpath
*/ */
publicPath: '/', publicPath: '/merchant',
outputDir: 'dist', outputDir: 'dist',
assetsDir: 'mer', assetsDir: 'static',
indexPath: process.env.NODE_ENV === 'development' ? 'index.html' : 'mer.html', indexPath: 'index.html',
lintOnSave: false, lintOnSave: false,
// lintOnSave: process.env.NODE_ENV === 'development', // lintOnSave: process.env.NODE_ENV === 'development',
productionSourceMap: false, productionSourceMap: false,