Skip to content

Commit

Permalink
[*]成功跳转
Browse files Browse the repository at this point in the history
  • Loading branch information
dark-wind committed Apr 22, 2017
1 parent bd1f02f commit 6363ac4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions widget/script/xcom.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,12 +202,11 @@ function join(id) {
},
}
}, function (ret, msg) {
api.alert({msg: JSON.stringify(ret)});
if (ret) {
if (ret.code == 'ok') {
api.openWin({
name: 'society',
url: 'users_my_society.html',
url: 'user_my_society.html',
animation: {
type: "push", //动画类型(详见动画类型常量)
duration: 400 //动画过渡时间,默认300毫秒
Expand Down

0 comments on commit 6363ac4

Please sign in to comment.