提交 91ad0ed1 authored 作者: lihuihui's avatar lihuihui

update

上级 5537ec11
...@@ -20,7 +20,7 @@ export default { ...@@ -20,7 +20,7 @@ export default {
}, },
methods: { methods: {
goBack() { goBack() {
if (this.$route.details) { if (this.$route.name === 'details') {
this.$router.push({ this.$router.push({
path: '/index' path: '/index'
}) })
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论