Commit a9b9614c by kokoroli

fix: TableList add router watch

parent a9e5710a
...@@ -39,6 +39,12 @@ export default { ...@@ -39,6 +39,12 @@ export default {
this.record = '' this.record = ''
this.currentComponet = 'List' this.currentComponet = 'List'
} }
},
watch: {
'$route.path' () {
this.record = ''
this.currentComponet = 'List'
}
} }
} }
</script> </script>
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