소스 검색

no message

xiaoxin 2 년 전
부모
커밋
3b22ed96f0
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.vue

+ 5 - 0
uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.vue

@@ -375,6 +375,11 @@ export default {
 				})
 				.catch((err) => {
 					console.log('选择失败', err)
+					uni.showToast({
+						title: err.errMsg,
+						icon: 'none',
+						duration: 2500
+					})
 				})
 		},