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
0bc46161
Commit
0bc46161
authored
Jan 03, 2025
by
Smile
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
app地址修改无法返回问题修改
parent
06a46ded
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
7 deletions
+17
-7
address_edit.vue
src/pages/address_edit/address_edit.vue
+17
-7
No files found.
src/pages/address_edit/address_edit.vue
View file @
0bc46161
...
...
@@ -119,15 +119,25 @@ export default {
this
.
$refs
.
form
.
validate
().
then
(
async
(
res
)
=>
{
if
(
res
)
{
try
{
const
{
code
}
=
await
this
.
$request
.
post
(
await
this
.
$request
.
post
(
"
/app-api/member/user-address/update
"
,
this
.
form
);
if
(
code
==
0
)
{
this
.
$route
.
params
.
addressId
=
"
00000
"
;
uni
.
$emit
(
"
refreshPreviousPage
"
,
"
show
"
);
uni
.
navigateBack
();
}
).
then
(
res
=>
{
if
(
res
.
code
==
0
)
{
this
.
$route
.
params
.
addressId
=
"
00000
"
;
uni
.
showModal
({
title
:
null
,
content
:
this
.
$lang
.
lang
.
notices
.
operation
,
showCancel
:
false
,
success
:
function
(
res
)
{
if
(
res
.
confirm
)
{
uni
.
$emit
(
"
refreshPreviousPage
"
,
"
show
"
);
uni
.
navigateBack
();
}
}
})
}
});
}
catch
(
err
)
{}
}
});
...
...
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