@@ -335,6 +335,7 @@
methods: {
// 点击上传回签附件
handleUploadCheckFile(){
+ const _this=this
wx.chooseMessageFile({
count:1,
type:'file',
@@ -358,6 +359,14 @@
}
this.showUpload=true
+ },
+ fail:(error)=>{
+ if(error.errMsg.indexOf('not supported')){
+ uni.showToast({
+ title:'请通过手机上传附件',
+ icon:'none'
+ })
+ }
})
},
@@ -303,6 +303,14 @@
this.showConfirmCheckBackfile=true
@@ -65,6 +65,14 @@ const asyncChooseFiles=({count,type})=>{
type:type,
success:(res)=>{
resolve(res.tempFiles)