Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gantt
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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨子
vue-gantt
Commits
184fb97e
Commit
184fb97e
authored
Jun 07, 2022
by
杨子
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
适配生成环境
parent
1a471992
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
.env.production
.env.production
+1
-1
HelloWorld.vue
src/components/HelloWorld.vue
+1
-3
No files found.
.env.production
View file @
184fb97e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
ENV = 'production'
ENV = 'production'
#Jeeplus快速开发平台/后台地址
#Jeeplus快速开发平台/后台地址
VUE_APP_SERVER_URL = 'http:/
xxxxxx.com/jeeplus-vue
'
VUE_APP_SERVER_URL = 'http:/
/helicopter.yqdchina.com/helicopter
'
#单点登录设置
#单点登录设置
VUE_APP_SSO_LOGIN = 'false'
VUE_APP_SSO_LOGIN = 'false'
VUE_APP_CAS_SERVER = 'https://www.cainiao.com:8443/cas'
VUE_APP_CAS_SERVER = 'https://www.cainiao.com:8443/cas'
...
...
src/components/HelloWorld.vue
View file @
184fb97e
...
@@ -74,10 +74,8 @@ const getRandomColor = function(){
...
@@ -74,10 +74,8 @@ const getRandomColor = function(){
}
}
const
baseUrl
=
'/task/helicopterTask/getGanttInfo?id='
+
sessionStorage
.
getItem
(
'taskResultId'
)
const
baseUrl
=
'/task/helicopterTask/getGanttInfo?id='
+
sessionStorage
.
getItem
(
'taskResultId'
)
const
url
=
process
.
env
.
NODE_ENV
===
'production'
?
'/jeeplus-vue'
+
baseUrl
:
baseUrl
httpRequest
httpRequest
.
get
(
u
rl
)
.
get
(
baseU
rl
)
.
then
(({
data
})
=>
{
.
then
(({
data
})
=>
{
if
(
!
data
){
if
(
!
data
){
...
...
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