feat: stay in the same position of the list when back from a sub folder
This commit is contained in:
parent
f36ad1e8b6
commit
39e27a6be9
@ -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