File tree Expand file tree Collapse file tree 4 files changed +10
-11
lines changed
components/uni-file-picker Expand file tree Collapse file tree 4 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 1+ ## 0.0.8
2+ - 修复 删除文件时无法触发 v-model 的Bug
13## 0.0.7(2021-05-12)
24- 新增 组件示例地址
35## 0.0.6(2021-04-09)
Original file line number Diff line number Diff line change 4040</template >
4141
4242<script >
43- import { chooseAndUploadFile } from ' ./choose-and-upload-file.js '
43+
4444 import uploadImage from ' ./upload-image.vue'
4545 import uploadFile from ' ./upload-file.vue'
4646 let fileInput = null
@@ -294,10 +294,6 @@ export default {
294294 * 选择文件并上传
295295 */
296296 chooseFiles () {
297- // API 正式发布前,使用本地API上传函数
298- if (! uniCloud .chooseAndUploadFile ) {
299- uniCloud .chooseAndUploadFile = chooseAndUploadFile
300- }
301297
302298 uniCloud
303299 .chooseAndUploadFile ({
@@ -468,7 +464,10 @@ export default {
468464 tempFile: this .files [index],
469465 tempFilePath: this .files [index].url
470466 })
471- this .files .splice (index, 1 )
467+ this .files .splice (index, 1 )
468+ this .$nextTick (()=> {
469+ this .setEmit ()
470+ })
472471 },
473472
474473 /**
Original file line number Diff line number Diff line change 1+ ## 1.4.3
2+ - 修复 错误的 watch 字段
13## 1.4.2(2021-05-12)
24- 新增 组件示例地址
35## 1.4.1(2021-04-29)
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ export default {
6969 safeArea: {
7070 type: Boolean ,
7171 default: true
72- }
72+ }
7373 },
7474
7575 watch: {
@@ -99,10 +99,6 @@ export default {
9999 this .mkclick = val
100100 },
101101 immediate: true
102- },
103- safeArea: {
104- type: Boolean ,
105- default: true
106102 }
107103 },
108104 data () {
You can’t perform that action at this time.
0 commit comments