feat: remain in the same position when back from a subfolder
This commit is contained in:
parent
87d39c434c
commit
9931f20f77
@ -92,7 +92,7 @@ export default {
|
|||||||
try {
|
try {
|
||||||
await api.move([{ from: oldLink, to: newLink }]);
|
await api.move([{ from: oldLink, to: newLink }]);
|
||||||
if (!this.isListing) {
|
if (!this.isListing) {
|
||||||
this.$router.push({ path: newLink });
|
this.$router.replace({ path: newLink });
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user