Commit 5c1091cbcba2d8c7434d4fde816947b45c87091a

Authored by yvan.ni
1 parent 14af7dd8

isout 的报警提示

Showing 1 changed file with 1 additions and 1 deletions
pages/user/index/index.js
... ... @@ -462,7 +462,7 @@ Page({
462 462 },
463 463 setappdata: function(t) {
464 464 var t=getApp().globalData.wxapp_buy_obj;
465   - if (t.isout == 1)
  465 + if (t && t.isout == 1)
466 466 wx.navigateTo({
467 467 url: "/pages/error/error?msg=小程序已经过期",
468 468 });
... ...