From 88e31e565190db559c0fe8f010f67ccbcb30ca2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=BF=94=E5=AE=87-=E6=97=85=E7=AE=A1=E5=AE=B6?= <153298343@qq.com> Date: Mon, 26 Sep 2022 09:19:41 +0800 Subject: [PATCH] up --- .env.production | 4 ++-- src/views/login/index.vue | 4 ++-- vue.config.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.env.production b/.env.production index 80c8103..97b622c 100644 --- a/.env.production +++ b/.env.production @@ -2,5 +2,5 @@ ENV = 'production' # base api -VUE_APP_BASE_API = '/prod-api' - +VUE_APP_BASE_API = http://sstt.115.langye.net/ +VUE_APP_UPLOAD_API = http://sstt.115.langye.net/api/admin/upload-file diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 5398394..18b439c 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -63,8 +63,8 @@ } return { loginForm: { - username: 'admin', - password: 'Admin2022' + username: '', + password: '' }, loginRules: { username: [{ diff --git a/vue.config.js b/vue.config.js index 3200adb..e59eb9a 100644 --- a/vue.config.js +++ b/vue.config.js @@ -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/s-sishitongtang/app/sishitongtang-service/public/admin', assetsDir: 'static', css: { loaderOptions: { // 向 CSS 相关的 loader 传递选项