fstarter 2.10.46 → 2.10.47

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "fstarter",
3
3
  "description": "A Vue.js project",
4
- "version": "2.10.46",
4
+ "version": "2.10.47",
5
5
  "author": "han.zhang <zhanghan810810@163.com>",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -24,7 +24,7 @@
24
24
  "rxjs": "^5.4.0",
25
25
  "signature_pad": "^3.0.0-beta.4",
26
26
  "style-loader": "^0.23.0",
27
- "vant": "2.11.0",
27
+ "vant": "2.12.39",
28
28
  "vconsole": "^3.3.0",
29
29
  "vue": "^2.6.11",
30
30
  "vue-bus": "^1.2.0",
@@ -11,6 +11,7 @@
11
11
  :upload-icon="model.bgImage"
12
12
  :accept="model.accept"
13
13
  :preview-image="model.preview"
14
+ @click-upload="clickUpload"
14
15
  capture="camera"
15
16
  @delete="deleteFn"
16
17
  >
@@ -221,6 +222,11 @@
221
222
  },self.fullName)
222
223
  })
223
224
  },
225
+ clickUpload () {
226
+ this.$emit('clickUpload', function(){
227
+
228
+ },this.fullName)
229
+ },
224
230
  async afterRead(file) {
225
231
 
226
232
  if(this.model.preview) this.fileList[0].status = 'uploading'
@@ -1,6 +1,9 @@
1
1
  <template>
2
2
 
3
3
  <van-cell-group>
4
+ <bs-upload2
5
+ @clickUpload="clickUpload"
6
+ ></bs-upload2>
4
7
  <p @click="share">分享</p>
5
8
  <p @click="camera">相机</p>
6
9
  <p @click="jump">跳转</p>
@@ -241,6 +244,9 @@
241
244
  }
242
245
  this.$service.callService('camera', param)
243
246
  },
247
+ clickUpload() {
248
+ // console.log("点了上传图片")
249
+ },
244
250
  a() {
245
251
  // this.selector('#stepper').set('min', 20)
246
252
           this.selector('#data').setValue(new Date())