Commit fd57ff28 authored by “lixuyan”'s avatar “lixuyan”

缓存任务接收页面

parent bd2bbc67
...@@ -23,6 +23,15 @@ export default { ...@@ -23,6 +23,15 @@ export default {
return this.$route.fullPath return this.$route.fullPath
} }
}, },
watch: {
'$route'(route) {
// 缓存任务接收页面
if (route.name === 'DeeMesTaskReception') {
console.log(454554)
this.$store.dispatch('tagsView/addView', route)
}
}
},
methods: { methods: {
} }
......
...@@ -10,7 +10,7 @@ import TaskReceiveCard from './components/taskReceiveCard/index' ...@@ -10,7 +10,7 @@ import TaskReceiveCard from './components/taskReceiveCard/index'
import TaskReceiveTable from './components/taskReceiveTable/index' import TaskReceiveTable from './components/taskReceiveTable/index'
export default { export default {
name: 'TaskReceive', name: 'DeeMesTaskReception',
components: { components: {
TaskReceiveCard, TaskReceiveCard,
TaskReceiveTable TaskReceiveTable
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment