chenxuhui 7 years ago
parent
commit
c88e2e899b
2 changed files with 6 additions and 1 deletions
  1. +1
    -1
      pages/login/login.json
  2. +5
    -0
      pages/orderList/orderList.js

+ 1
- 1
pages/login/login.json View File

@ -1,5 +1,5 @@
{ {
"navigationBarBackgroundColor": "white", "navigationBarBackgroundColor": "white",
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
"navigationBarTitleText": "业务员登录"
"navigationBarTitleText": "畜司机登录"
} }

+ 5
- 0
pages/orderList/orderList.js View File

@ -13,6 +13,11 @@ Page({
var that = this; var that = this;
var method = getOrderList; var method = getOrderList;
network.transfer_request(method, [], function (res) { network.transfer_request(method, [], function (res) {
if(res.result.length <= 0){
wx:wx.showToast({
title: '暂无订单数据',
})
}
that.setData({ that.setData({
orderList: res.result, orderList: res.result,
}) })


Loading…
Cancel
Save