|
@@ -247,6 +247,7 @@ export default {
|
|
|
size: this.page.size
|
|
size: this.page.size
|
|
|
}
|
|
}
|
|
|
this.currentFolder = null
|
|
this.currentFolder = null
|
|
|
|
|
+ delete this.folderInfo.id
|
|
|
this.loading = true
|
|
this.loading = true
|
|
|
this.top = true
|
|
this.top = true
|
|
|
this.$api.resource.folderList(data).then(res => {
|
|
this.$api.resource.folderList(data).then(res => {
|
|
@@ -326,6 +327,10 @@ export default {
|
|
|
},
|
|
},
|
|
|
goBefore(res) {
|
|
goBefore(res) {
|
|
|
this.currentFolder = res
|
|
this.currentFolder = res
|
|
|
|
|
+ if (this.top) {
|
|
|
|
|
+ console.log('del id')
|
|
|
|
|
+ delete this.folderInfo.id
|
|
|
|
|
+ }
|
|
|
this.refreshData()
|
|
this.refreshData()
|
|
|
},
|
|
},
|
|
|
renameFolder(res) {
|
|
renameFolder(res) {
|