keep-alive

This commit is contained in:
2023-06-29 16:02:24 +08:00
parent b28add0fc1
commit 5aa63a973b
6 changed files with 36 additions and 5 deletions

View File

@@ -50,6 +50,10 @@ export default {
},
toPage2 (e) {
let url = e.path
let name = url.substr(1)
if (name === 'semifinishedinstore') {
this.$store.dispatch('setKeepAlive', [name])
}
this.$router.push(url)
},
Quit () {