hh-doctor-sdk 0.3.6 → 0.3.7

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.
@@ -24,7 +24,7 @@ Page({
24
24
  const orderId = options.orderId
25
25
  const hospitalId = options.hospitalId
26
26
  let path = options.path || null
27
- let forDicom = options.forDicom || false
27
+ let forDicom = JSON.parse(options.forDicom) || false
28
28
  if (path != null) {
29
29
  path = decodeURIComponent(path)
30
30
  }
@@ -166,6 +166,11 @@ Page({
166
166
  title: '加载中...',
167
167
  })
168
168
  } else {
169
+ if (this.data.path) {
170
+ wx.setNavigationBarTitle({
171
+ title: this.data.path,
172
+ })
173
+ }
169
174
  wx.stopPullDownRefresh()
170
175
  wx.hideNavigationBarLoading()
171
176
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hh-doctor-sdk",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "description": "和缓名医小程序SDK",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"