Skip to content

Commit bc82e50

Browse files
committed
fix: 修改 uni-file-picker 删除文件返回内容错误的bug
1 parent aaeb9d7 commit bc82e50

File tree

5 files changed

+7
-10
lines changed

5 files changed

+7
-10
lines changed

docs/.vuepress/config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ module.exports = {
88
},
99
themeConfig: {
1010
logo: {
11-
img: '//img-cdn-qiniu.dcloud.net.cn/uniapp/doc/uniapp4@2x.png',
11+
img: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/738873d6-ac99-4811-aafc-ab1ebc97a419.png',
1212
link: 'https://uniapp.dcloud.io'
1313
},
1414
subLogo: {
15-
img: '//img-cdn-qiniu.dcloud.net.cn/uniapp/doc/logo2@2x.png',
15+
img: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/055240f8-880f-4c1a-b909-c64cb4894fa0.png',
1616
link: 'https://dcloud.io'
1717
},
1818
nav: [{

docs/.vuepress/theme/components/NavLinks.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<!-- repo link -->
1010
<a v-if="repoLink" :href="repoLink" class="repo-link" target="_blank" rel="noopener noreferrer">
1111
<!-- {{ repoLabel }} -->
12-
<img class="repo-link-image" src="//img-cdn-qiniu.dcloud.net.cn/uniapp/doc/github.svg" alt="" />
12+
<img class="repo-link-image" src="https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/8571503b-4545-4124-b7ad-5228b9e620d2.svg" alt="" />
1313
<!-- <OutboundLink /> -->
1414
</a>
1515
</nav>

docs/.vuepress/theme/components/Page.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ export default {
8181
border-radius 20px
8282
background-color #333
8383
box-shadow 0px 0px 10px 2px rgba(0, 0, 0, 0.2)
84-
border 1px blue solid
8584
transform scale(0.8)
8685
box-sizing border-box
8786
.simulator-top

docs/questions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
为了避免错误使用,给大家带来不好的开发体验,请在使用组件前仔细阅读下面的注意事项,可以帮你避免一些必要的错误使用。
55

66
- 组件需要依赖 `sass` 插件 ,请自行手动安装
7-
- 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
7+
- 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 <span style="font-size:20px;color:red;">uni-ui 交流群:871950839</span>
88
:::
99

1010
<!-- ## 如何使用组件方法 (ref的用法)

uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.vue

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -459,11 +459,9 @@ export default {
459459
* 删除
460460
* @param {Object} index
461461
*/
462-
delFile(index) {
463-
this.$emit('delete', {
464-
tempFile: this.files[index],
465-
tempFilePath: this.files[index].url
466-
})
462+
delFile(index) {
463+
let fileData = this.files[index]
464+
this.$emit('delete', fileData)
467465
this.files.splice(index, 1)
468466
this.$nextTick(()=>{
469467
this.setEmit()

0 commit comments

Comments
 (0)