Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xoadoPlatform
Project
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
yaohui
xoadoPlatform
Commits
9b1b1270
Commit
9b1b1270
authored
Apr 18, 2022
by
weix
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
808c9981
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
5 deletions
+9
-5
.env.production
.env.production
+1
-1
index.vue
src/components/UserDropdown/index.vue
+1
-0
business.js
src/store/modules/business.js
+7
-4
orderDetail.vue
src/views/operation/orderDetail.vue
+0
-0
No files found.
.env.production
View file @
9b1b1270
...
@@ -16,4 +16,4 @@ VUE_APP_BASE_API11 = 'https://oss.xoado.com/v1/'
...
@@ -16,4 +16,4 @@ VUE_APP_BASE_API11 = 'https://oss.xoado.com/v1/'
VUE_APP_BASE_API12 = 'http://xoado.tpddns.net:10001'
VUE_APP_BASE_API12 = 'http://xoado.tpddns.net:10001'
VUE_APP_BASE_API13 = 'http://xoado.tpddns.net:10001/anc'
VUE_APP_BASE_API13 = 'http://xoado.tpddns.net:10001/anc'
VUE_APP_BASE_API14 = 'http://xoado.tpddns.cn:10001/xoadotravel'
VUE_APP_BASE_API14 = 'http://xoado.tpddns.cn:10001/xoadotravel'
VUE_APP_BASE_API15 = 'http://xoado.tpddns.net:10001/
brand
'
VUE_APP_BASE_API15 = 'http://xoado.tpddns.net:10001/
smart
'
src/components/UserDropdown/index.vue
View file @
9b1b1270
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
methods
:
{
methods
:
{
loginout
()
{
loginout
()
{
this
.
$store
.
dispatch
(
'user/loginOut'
);
this
.
$store
.
dispatch
(
'user/loginOut'
);
this
.
$store
.
commit
(
'business/DEL_BRANDLIST'
)
}
}
},
},
computed
:
{
computed
:
{
...
...
src/store/modules/business.js
View file @
9b1b1270
...
@@ -39,6 +39,10 @@ const mutations = {
...
@@ -39,6 +39,10 @@ const mutations = {
state
.
brandList
=
payload
state
.
brandList
=
payload
sessionStorage
.
setItem
(
'brandList'
,
payload
)
sessionStorage
.
setItem
(
'brandList'
,
payload
)
},
},
DEL_BRANDLIST
(
state
)
{
state
.
brandList
=
''
;
sessionStorage
.
removeItem
(
'brandList'
);
}
}
}
const
actions
=
{
const
actions
=
{
...
@@ -50,17 +54,16 @@ const actions = {
...
@@ -50,17 +54,16 @@ const actions = {
/** 正式环境注释 */
/** 正式环境注释 */
res
.
data
.
forEach
(
item
=>
{
res
.
data
.
forEach
(
item
=>
{
if
(
item
.
brandName
.
indexOf
(
'玖玖'
)
!==
-
1
)
{
if
(
item
.
brandName
.
indexOf
(
'玖玖'
)
!==
-
1
)
{
item
.
brandUrl
=
'http://
192.168.0.251:818
1/brand'
;
item
.
brandUrl
=
'http://
xoado.tpddns.net:1000
1/brand'
;
}
}
if
(
item
.
brandName
.
indexOf
(
'江南'
)
!==
-
1
)
{
if
(
item
.
brandName
.
indexOf
(
'江南'
)
!==
-
1
)
{
item
.
brandUrl
=
'http://
192.168.0.251:9191/brand
'
;
item
.
brandUrl
=
'http://
xoado.tpddns.net:10001/brandjn
'
;
}
}
if
(
item
.
brandName
.
indexOf
(
'妥妥'
)
!==
-
1
)
{
if
(
item
.
brandName
.
indexOf
(
'妥妥'
)
!==
-
1
)
{
item
.
brandUrl
=
'http://
192.168.0.251:9292/brand
'
;
item
.
brandUrl
=
'http://
xoado.tpddns.net:10001/brandtt
'
;
}
}
})
})
/** 测试环境注释 */
/** 测试环境注释 */
// res.data.forEach(item => {
// res.data.forEach(item => {
// item.brandUrl = item.brandUrl+'/brand';
// item.brandUrl = item.brandUrl+'/brand';
...
...
src/views/operation/orderDetail.vue
View file @
9b1b1270
This diff is collapsed.
Click to expand it.
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