Add files via upload

This commit is contained in:
niubility000 2021-09-22 17:34:49 +08:00 committed by GitHub
parent b208af3eb4
commit 09daf23d05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -247,7 +247,11 @@ export default {
this.addSelected(this.index);
},
open: function () {
this.$router.push({ path: this.url });
if (this.isDir) {
this.$router.push({ path: this.url });
} else {
this.$router.replace({ path: this.url });
}
},
},
};