fstarter 2.10.54 → 2.10.56

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.
package/fstarter.iml CHANGED
@@ -1,9 +1,9 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="WEB_MODULE" version="4">
3
- <component name="NewModuleRootManager" inherit-compiler-output="true">
4
- <exclude-output />
5
- <content url="file://$MODULE_DIR$" />
6
- <orderEntry type="inheritedJdk" />
7
- <orderEntry type="sourceFolder" forTests="false" />
8
- </component>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="WEB_MODULE" version="4">
3
+ <component name="NewModuleRootManager" inherit-compiler-output="true">
4
+ <exclude-output />
5
+ <content url="file://$MODULE_DIR$" />
6
+ <orderEntry type="inheritedJdk" />
7
+ <orderEntry type="sourceFolder" forTests="false" />
8
+ </component>
9
9
  </module>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "fstarter",
3
3
  "description": "A Vue.js project",
4
- "version": "2.10.54",
4
+ "version": "2.10.56",
5
5
  "author": "han.zhang <zhanghan810810@163.com>",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -12,7 +12,6 @@
12
12
  :accept="model.accept"
13
13
  :preview-image="model.preview"
14
14
  @click-upload="clickUpload"
15
- capture="camera"
16
15
  @delete="deleteFn"
17
16
  >
18
17
  <van-image :src="model.bgImage"/>
@@ -33,9 +33,9 @@ var faceH5 = {
33
33
  }
34
34
  },
35
35
  invoke(params){
36
- if(ua.isIspPhone){
36
+ // if(ua.isIspPhone){
37
37
 
38
- }else if(ua.microMsg){
38
+ // }else if(ua.microMsg){
39
39
  let apiUrl = config.http.gwURL + '/api/v1/hasl/preservation/service/h5CreateOrderPreservation'
40
40
  return http.post(apiUrl,params,false,true).then((data)=>{
41
41
  let _data = JSON.parse(data.result)
@@ -45,9 +45,9 @@ var faceH5 = {
45
45
  window.location.href = cbUrl
46
46
  return Promise.resolve(data.result)
47
47
  })
48
- }else{
49
- Promise.reject()
50
- }
48
+ // }else{
49
+ // Promise.reject()
50
+ // }
51
51
  }
52
52
  }
53
53
 
@@ -24,9 +24,9 @@ var getH5FaceResult = {
24
24
  }
25
25
  },
26
26
  invoke(params){
27
- if(ua.isIspPhone){
27
+ // if(ua.isIspPhone){
28
28
 
29
- }else if(ua.microMsg){
29
+ // }else if(ua.microMsg){
30
30
  let apiUrl = config.http.gwURL + '/api/v1/hasl/preservation/service/faceResultQueryPreservation'
31
31
  return http.post(apiUrl,params, false, true).then((res)=>{
32
32
  let data = JSON.parse(res.result)
@@ -53,9 +53,9 @@ var getH5FaceResult = {
53
53
  return Promise.reject(failedData)
54
54
  }
55
55
  })
56
- }else{
57
- Promise.reject()
58
- }
56
+ // }else{
57
+ // Promise.reject()
58
+ // }
59
59
  }
60
60
  }
61
61