Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
account
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit dacd8b1f
authored
Apr 25, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
西藏省市判断
1 parent
6f7f2537
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
html/merchant/add.html
html/merchant/addSubMerchant.html
html/merchant/edit.html
html/merchant/add.html
View file @
dacd8b1
...
...
@@ -1058,7 +1058,7 @@
// 获取省市
var
provincecode
=
res
.
geocoderAddress
.
adcode
var
provinceIdx
=
fullAddress
.
province
var
cityIdx
=
fullAddress
.
city
var
cityIdx
=
fullAddress
.
city
?
fullAddress
.
city
:
fullAddress
.
district
const
municipalities
=
[
'北京市'
,
'天津市'
,
'上海市'
,
'重庆市'
]
var
municipality
=
municipalities
.
find
(
item
=>
item
==
provinceIdx
)
if
(
municipality
)
{
...
...
html/merchant/addSubMerchant.html
View file @
dacd8b1
...
...
@@ -1068,7 +1068,7 @@
// 获取省市
var
provincecode
=
res
.
geocoderAddress
.
adcode
var
provinceIdx
=
fullAddress
.
province
var
cityIdx
=
fullAddress
.
city
var
cityIdx
=
fullAddress
.
city
?
fullAddress
.
city
:
fullAddress
.
district
const
municipalities
=
[
'北京市'
,
'天津市'
,
'上海市'
,
'重庆市'
]
var
municipality
=
municipalities
.
find
(
item
=>
item
==
provinceIdx
)
if
(
municipality
)
{
...
...
html/merchant/edit.html
View file @
dacd8b1
...
...
@@ -1029,7 +1029,7 @@
// 获取省市
var
provincecode
=
res
.
geocoderAddress
.
adcode
var
provinceIdx
=
fullAddress
.
province
var
cityIdx
=
fullAddress
.
city
var
cityIdx
=
fullAddress
.
city
?
fullAddress
.
city
:
fullAddress
.
district
const
municipalities
=
[
'北京市'
,
'天津市'
,
'上海市'
,
'重庆市'
]
var
municipality
=
municipalities
.
find
(
item
=>
item
==
provinceIdx
)
if
(
municipality
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment