diff --git a/pages/login/login.json b/pages/login/login.json index fc754d6..c7e83ed 100644 --- a/pages/login/login.json +++ b/pages/login/login.json @@ -1,5 +1,5 @@ { "navigationBarBackgroundColor": "white", "navigationBarTextStyle": "black", - "navigationBarTitleText": "业务员登录" + "navigationBarTitleText": "畜司机登录" } \ No newline at end of file diff --git a/pages/orderList/orderList.js b/pages/orderList/orderList.js index 10d545a..7b24cfd 100644 --- a/pages/orderList/orderList.js +++ b/pages/orderList/orderList.js @@ -13,6 +13,11 @@ Page({ var that = this; var method = getOrderList; network.transfer_request(method, [], function (res) { + if(res.result.length <= 0){ + wx:wx.showToast({ + title: '暂无订单数据', + }) + } that.setData({ orderList: res.result, })