Skip to content

Commit 43e49b2

Browse files
author
cqy0929
committed
保存标签后弹窗success并跳转回mainpage
1 parent 25d9d2f commit 43e49b2

File tree

1 file changed

+2
-2
lines changed
  • miniprogram/pages/information/myTag

1 file changed

+2
-2
lines changed

miniprogram/pages/information/myTag/myTag.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ Page({
3333
},
3434
goHome: function () {
3535
wx.showToast({
36-
title: 'success',
36+
title: '保存成功',
3737
duration: 1800,
3838
mask: true,
3939
success: function () {
4040
// console.log('haha');
4141
setTimeout(function () {
4242
//要延时执行的代码
4343
wx.switchTab({
44-
url: '/pages/postlist/postlist',
44+
url: '/pages/information/mainpage/mainpage',
4545
})
4646
}, 1000) //延迟时间
4747
}

0 commit comments

Comments
 (0)