|
|
|
@ -293,12 +293,13 @@ export class AllFileComponent {
|
|
|
|
|
backToTop () { |
|
|
|
|
if (this.selectedDataBank.includes('/')) { |
|
|
|
|
let arr = this.selectedDataBank.split('/') |
|
|
|
|
this.selectedDataBank = arr[0] |
|
|
|
|
this.getALLFileList(arr[0]) |
|
|
|
|
} else { |
|
|
|
|
const config = new MatSnackBarConfig(); |
|
|
|
|
config.verticalPosition = 'top'; |
|
|
|
|
config.duration = 3000 |
|
|
|
|
this.snackBar.open('目前已是顶级目录','确定',config) |
|
|
|
|
this.snackBar.open('目前已是一级目录','确定',config) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|