|
|
@@ -400,6 +400,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
handleFile(item) {
|
|
|
+ console.log(item)
|
|
|
const fileType = item.fileType
|
|
|
if (fileType === 1000) {
|
|
|
const filename = item.filename
|
|
|
@@ -428,6 +429,13 @@ export default {
|
|
|
this.fileDetail = resp.data
|
|
|
this.previewFileDialog = true
|
|
|
}
|
|
|
+ }).catch(error => {
|
|
|
+ this.$notify({
|
|
|
+ title: '请求错误',
|
|
|
+ message: error.message,
|
|
|
+ type: 'error',
|
|
|
+ duration: 3000
|
|
|
+ })
|
|
|
})
|
|
|
},
|
|
|
createNewFolder() {
|
|
|
@@ -495,7 +503,12 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
share() {
|
|
|
- console.log('分享文件')
|
|
|
+ this.$notify({
|
|
|
+ title: '提示',
|
|
|
+ message: '分享文件接口未实现',
|
|
|
+ type: 'info',
|
|
|
+ duration: 3000
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
}
|