Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-customer-new-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-customer-new-master
Commits
7741b889
Commit
7741b889
authored
Aug 06, 2024
by
lizhan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
📝
【TASK-20240806-01】TASK:APP个人信息国家城市增加
parent
831b3483
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1784 additions
and
1924 deletions
+1784
-1924
.env.development
.env.development
+1
-1
my_info.vue
src/pages/my_info/my_info.vue
+296
-407
register.vue
src/pages/register/register.vue
+4
-4
en.js
src/static/lang/en.js
+732
-744
zh.js
src/static/lang/zh.js
+737
-745
config.js
src/utils/config.js
+3
-4
request.js
src/utils/request.js
+11
-19
No files found.
.env.development
View file @
7741b889
NODE_ENV = development
NODE_ENV = development
# 捷道管理系统/本地开发环境
# 捷道管理系统/本地开发环境
VUE_APP_BASE_API = 'https://api
.jd.jdshangmen.com
'
VUE_APP_BASE_API = 'https://api
test.groupage.cn
'
src/pages/my_info/my_info.vue
View file @
7741b889
This diff is collapsed.
Click to expand it.
src/pages/register/register.vue
View file @
7741b889
...
@@ -149,7 +149,7 @@
...
@@ -149,7 +149,7 @@
let
params
=
{
let
params
=
{
areaCode
:
this
.
areaData
[
this
.
areaIndex
],
areaCode
:
this
.
areaData
[
this
.
areaIndex
],
code
:
this
.
code
,
code
:
this
.
code
,
englishName
:
'
Nick
'
,
englishName
:
''
,
mobile
:
this
.
mobile
,
mobile
:
this
.
mobile
,
password
:
this
.
password
,
password
:
this
.
password
,
}
}
...
...
src/static/lang/en.js
View file @
7741b889
This diff is collapsed.
Click to expand it.
src/static/lang/zh.js
View file @
7741b889
This diff is collapsed.
Click to expand it.
src/utils/config.js
View file @
7741b889
//
const domain = 'https://api2.groupage.cn'
const
domain
=
'
https://api2.groupage.cn
'
// const domain = 'https://api.jd.jdshangmen.com'
// const domain = 'https://api.jd.jdshangmen.com'
// const domain = 'https://api.sit.jdshangmen.com'
// const domain = 'https://api.sit.jdshangmen.com'
// const domain = 'https://api2.groupage.cn'
// const domain = 'https://api2.groupage.cn'
const
domain
=
'
https://apitest.groupage.cn
'
const
config
=
{
const
config
=
{
CDN_DOMAIN
:
domain
,
CDN_DOMAIN
:
domain
,
API
:
domain
API
:
domain
,
}
}
export
default
config
export
default
config
src/utils/request.js
View file @
7741b889
...
@@ -69,19 +69,11 @@ function callback(resolve, reject, response) {
...
@@ -69,19 +69,11 @@ function callback(resolve, reject, response) {
})
})
}
}
if
(
data
.
code
==
401
)
{
if
(
data
.
code
==
401
)
{
let
pages
=
getCurrentPages
()
// 获取栈实例
if
(
pages
.
length
>
1
){
let
prevPage
=
pages
[
pages
.
length
-
2
]
if
(
!
prevPage
||
prevPage
.
route
!=
'
pages/login/login
'
){
store
.
commit
(
'
logout
'
)
store
.
commit
(
'
logout
'
)
uni
.
reLaunch
({
uni
.
reLaunch
({
url
:
'
/pages/login/login
'
url
:
'
/pages/login/login
'
})
})
}
}
}
}
resolve
(
data
)
resolve
(
data
)
}
else
{
}
else
{
resolve
(
data
)
resolve
(
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