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 传递选项