Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-web-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-web-master
Commits
3b8085d4
Commit
3b8085d4
authored
Aug 29, 2024
by
chenwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
default address
parent
2c8aedf6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
15 deletions
+20
-15
setting.vue
src/views/jiedao/profile/setting.vue
+20
-15
No files found.
src/views/jiedao/profile/setting.vue
View file @
3b8085d4
...
...
@@ -521,17 +521,7 @@
>
</div>
<div
v-else
style=
"display: flex"
>
<div
style=
"
width: 92px;
height: 30px;
background: #5ba8dc;
border: 2px solid #659fd5;
border-radius: 19px;
display: flex;
justify-content: center;
cursor: pointer;
"
<div
class=
"cancelBtn"
@
click=
"companyHanderCancel"
>
<span
...
...
@@ -1789,17 +1779,20 @@ export default {
});
},
// 获取城市列表
getCityList
(
id
)
{
getCityList
(
id
,
status
=
'
edit
'
)
{
getCityListByParent
({
id
}).
then
((
res
)
=>
{
this
.
cityList
=
res
.
data
;
if
(
status
==
'
edit
'
){
this
.
baseForm
.
city
=
""
;
}
});
},
getInfo
()
{
getInfo
().
then
((
r
)
=>
{
this
.
userInfo
=
r
.
data
;
this
.
addressForm
.
areaCode
=
this
.
userInfo
.
areaCode
;
this
.
getCityList
(
r
.
data
.
country
);
this
.
getCityList
(
r
.
data
.
country
,
'
init
'
);
this
.
getAddressList
();
});
},
...
...
@@ -1833,9 +1826,11 @@ export default {
},
baseHanderEdit
()
{
this
.
baseEdit
=
true
;
this
.
baseForm
=
{
...
this
.
userInfo
};
this
.
baseForm
=
{
...
this
.
userInfo
};
},
baseHanderCancel
()
{
this
.
$refs
.
baseForm
.
clearValidate
();
this
.
getInfo
();
this
.
baseEdit
=
false
;
},
baseHanderSubmit
()
{
...
...
@@ -2279,6 +2274,16 @@ export default {
</
script
>
<
style
lang=
"scss"
scoped
>
.cancelBtn
{
width
:
92px
;
height
:
30px
;
background
:
#5ba8dc
;
border
:
2px
solid
#659fd5
;
border-radius
:
19px
;
display
:
flex
;
justify-content
:
center
;
cursor
:
pointer
;
}
.jd-label
{
font-size
:
14px
;
font-weight
:
bold
;
...
...
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