|
@@ -179,7 +179,7 @@
|
|
|
//keepalive监控判断
|
|
|
beforeRouteLeave(to, from, next) {
|
|
|
console.log(to.name);
|
|
|
- if (['MasterAttendanceInfo'].indexOf(to.name) > -1) {
|
|
|
+ if (['MasterAttendanceInfo', 'MasterAttendanceApply'].indexOf(to.name) > -1) {
|
|
|
this.$store.commit('SET_KEEP_ALIVE_COMPONENTS', ['MasterAttendanceList'])
|
|
|
} else {
|
|
|
this.$store.commit('SET_KEEP_ALIVE_COMPONENTS', [])
|