Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
school-paper-admin-front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
school-paper
school-paper-admin-front
Commits
dccc299a
Commit
dccc299a
authored
Jul 27, 2023
by
H.wb.wang.peixun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置修改
parent
31c94b61
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
.env.production
+2
-2
src/components/ImageUpload/index.vue
+1
-1
No files found.
.env.production
View file @
dccc299a
...
@@ -5,7 +5,7 @@ VUE_APP_TITLE = RuoYi-Vue-Plus后台管理系统
...
@@ -5,7 +5,7 @@ VUE_APP_TITLE = RuoYi-Vue-Plus后台管理系统
ENV = 'production'
ENV = 'production'
# 应用访问路径 例如使用前缀 /admin/
# 应用访问路径 例如使用前缀 /admin/
VUE_APP_CONTEXT_PATH = '/
api
'
VUE_APP_CONTEXT_PATH = '/'
# 监控地址
# 监控地址
VUE_APP_MONITRO_ADMIN = '/admin/login'
VUE_APP_MONITRO_ADMIN = '/admin/login'
...
@@ -14,4 +14,4 @@ VUE_APP_MONITRO_ADMIN = '/admin/login'
...
@@ -14,4 +14,4 @@ VUE_APP_MONITRO_ADMIN = '/admin/login'
VUE_APP_XXL_JOB_ADMIN = '/xxl-job-admin'
VUE_APP_XXL_JOB_ADMIN = '/xxl-job-admin'
# 若依管理系统/生产环境
# 若依管理系统/生产环境
VUE_APP_BASE_API = '/
prod-
api'
VUE_APP_BASE_API = '/api'
src/components/ImageUpload/index.vue
View file @
dccc299a
...
@@ -87,7 +87,7 @@ export default {
...
@@ -87,7 +87,7 @@ export default {
// headers: {
// headers: {
// Authorization: "Bearer " + getToken(),
// Authorization: "Bearer " + getToken(),
// },
// },
uploadImgUrl
:
process
.
env
.
VUE_APP_BASE_API
+
'/
admin/bicycle/maintenance
/uploadFile'
,
uploadImgUrl
:
process
.
env
.
VUE_APP_BASE_API
+
'/
school-paper/banner
/uploadFile'
,
headers
:
{
headers
:
{
Authorization
:
"Bearer "
+
getToken
(),
Authorization
:
"Bearer "
+
getToken
(),
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment