@@ -34,13 +34,9 @@ export default {
},
computed: {
childRouter: function () {
- return this.$route.path;
- },
- methods: {
+ return this.$route.matched[1]&&this.$route.matched[1].path;
+ }
- mounted() {},
- created() {},
};
</script>