@@ -5,7 +5,7 @@ VUE_APP_TITLE = 综合保税区管理系统
ENV = 'production'
# 综合保税区管理系统/生产环境
-VUE_APP_BASE_API = '/hjy-api'
+VUE_APP_BASE_API = 'http://bsq-server.aseanbusiness.cn'
# 请求、响应数据加密
VUE_APP_AES_ENCRYPT_ENABLED = 'false'
# 请求数据加密秘钥串
@@ -1 +1,3 @@
node_modules
+ruoyi-vue-web
+/admin/
@@ -204,6 +204,6 @@
<div class="load_title">正在加载系统资源,请耐心等待</div>
</div>
- <script src="/ruoyi-vue-web/tinymce/tinymce.min.js"></script>
+ <script src="/tinymce/tinymce.min.js"></script>
</body>
</html>
@@ -171,7 +171,7 @@ Router.prototype.push = function push(location) {
}
export default new Router({
- base: "/ruoyi-vue-web",
+ base: "/",
mode: 'history', // 去掉url中的#
scrollBehavior: () => ({ y: 0 }),
routes: constantRoutes
@@ -106,7 +106,7 @@ service.interceptors.response.use(res => {
).then(() => {
isRelogin.show = false;
store.dispatch('LogOut').then(() => {
- location.href = '/ruoyi-vue-web/index';
+ location.href = '/index';
})
}).catch(() => {
@@ -18,9 +18,9 @@ module.exports = {
// 部署生产环境和开发环境下的URL。
// 默认情况下,Vue CLI 会假设你的应用是被部署在一个域名的根路径上
// 如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.ruoyi.vip/admin/,则设置 baseUrl 为 /admin/。
- publicPath: process.env.NODE_ENV === "production" ? "/ruoyi-vue-web" : "/ruoyi-vue-web",
+ publicPath: process.env.NODE_ENV === "production" ? "/" : "/",
// 在npm run build 或 yarn build 时 ,生成文件的目录名称(要和baseUrl的生产环境路径一致)(默认dist)
- outputDir: 'ruoyi-vue-web',
+ outputDir: 'admin',
// 用于放置生成的静态资源 (js、css、img、fonts) 的;(项目打包之后,静态资源会放在这个文件夹下)
assetsDir: 'static',
// 是否开启eslint保存检测,有效值:ture | false | 'error'