keepalive

This commit is contained in:
2023-07-03 15:33:16 +08:00
parent 8f43c079b9
commit a5fc2029c6
5 changed files with 32 additions and 14 deletions

View File

@@ -55,7 +55,7 @@ export default {
toPage2 (e) {
let url = e.path
let name = url.substr(1)
if (name === 'semifinishedinstore' || name === 'semifinishedoutstore') {
if (name === 'semifinishedinstore' || name === 'semifinishedoutstore' || name === 'finishedinstore') {
this.$store.dispatch('setKeepAlive', [name])
}
this.$router.push(url)