This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
Augcl
/
employ-front
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
fix: 修改提交成功后的跳转方式为返回首页
将提交成功后的导航方式从返回上一页改为直接切换到首页标签页,提升用户体验
master
前端-胡立永
15 hours ago
parent
af52f75fe4
commit
fc86f1e868
2 changed files
with
4 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
pages_subpack/release/component/enterprise.vue
+2
-2
pages_subpack/release/component/master.vue
+ 2
- 2
pages_subpack/release/component/enterprise.vue
View File
@ -483,8 +483,8 @@
console
.
info
(
"response"
,
response
)
uni
.
$u
.
toast
(
successMessage
)
setTimeout
(
(
)
=>
{
uni
.
navigateBack
(
{
delta
:
1
uni
.
switchTab
(
{
url
:
'/pages/home/index'
}
)
}
,
800
)
}
)
.
catch
(
error
=>
{
+ 2
- 2
pages_subpack/release/component/master.vue
View File
@ -432,8 +432,8 @@
/
/
c
o
n
s
o
l
e
.
i
n
f
o
(
"
r
e
s
p
o
n
s
e
"
,
r
e
s
p
o
n
s
e
)
uni
.
$u
.
toast
(
"提交成功!"
)
setTimeout
(
(
)
=>
{
uni
.
navigateBack
(
{
delta
:
1
uni
.
switchTab
(
{
url
:
'/pages/home/index'
}
)
}
,
800
)
}
)
.
catch
(
error
=>
{
Write
Preview
Loading…
Cancel
Save