Commit 10cb691dff33667de42390fa83a7dca630a060fe

Authored by yvan.ni
1 parent 2dcbeb36

报警的

Showing 1 changed file with 1 additions and 1 deletions
custom-tab-bar/index.js
... ... @@ -52,7 +52,7 @@ Component({
52 52 }).then(res => {
53 53 getApp().globalData.is_read=true;
54 54 var e = res;
55   - if(e.data.code != -1){
  55 + if(e.data.code != -1 && e.data.data && e.data.data.data){
56 56 var itemList = e.data.data.data;
57 57 itemList = JSON.parse(itemList)
58 58 //如果是有定义自定义导航的小程序链接
... ...