hh-doctor-sdk 0.6.7 → 0.6.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -58,7 +58,7 @@ module.exports = Behavior({
58
58
  if (orderModel.responseOrderList && orderModel.responseOrderList.length > 0) {
59
59
  orderGroups.push(this._buildGroup(false, '我的回复', orderModel.responseOrderList))
60
60
  }
61
- let showEmpty = orderGroups.length == 0
61
+ let showEmpty = orderGroups.length === 0
62
62
  this.setData({
63
63
  orderGroup: orderGroups,
64
64
  showEmpty: showEmpty
@@ -60,6 +60,9 @@ Page({
60
60
  }
61
61
  })
62
62
  } else {
63
+ this.setData({
64
+ isLogin: true
65
+ })
63
66
  doctorLoader.loadDoctor({
64
67
  doctorId: doctorId,
65
68
  isTest: isTest,
@@ -78,7 +81,7 @@ Page({
78
81
  }
79
82
  } else {
80
83
  this.setData({
81
- isLogin: true
84
+ isLogin: false
82
85
  })
83
86
  // wx.showModal({
84
87
  // showCancel: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hh-doctor-sdk",
3
- "version": "0.6.7",
3
+ "version": "0.6.8",
4
4
  "description": "和缓名医小程序SDK",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"