hh-doctor-sdk 0.5.4 → 0.5.6

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.
@@ -7,10 +7,11 @@
7
7
  */
8
8
  function imageList(caseImageList) {
9
9
  const images = caseImageList.filter((value, index, array) => {
10
+ console.log(JSON.stringify(value))
10
11
  if (value.s3key && value.s3key.length > 0) {
11
12
  return !value.s3key.endsWith('.pdf') && !value.s3key.endsWith('.mp4')
12
13
  }
13
- return value.imageurl && !value.imageurl.includes('.pdf') && !value.url.includes('.mp4')
14
+ return value.imageurl && !value.imageurl.includes('.pdf') && !value.imageurl.includes('.mp4')
14
15
  })
15
16
 
16
17
  const imageDataList = images.map((value, index, array) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hh-doctor-sdk",
3
- "version": "0.5.4",
3
+ "version": "0.5.6",
4
4
  "description": "和缓名医小程序SDK",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"