提交 751457d4 authored 作者: lihuihui's avatar lihuihui

修改样式

上级 08b29b59
......@@ -38,6 +38,9 @@ export default {
}
},
mounted() {
this.$nextTick(() => {
this.dataIndex = this.defaultPage
})
},
methods: {
changeChildTab(index) {
......
......@@ -26,7 +26,7 @@ export default {
},
mounted() {
this.getData()
this.$route.query.type && (this.defaultPage = this.$route.query.type)
this.$route.query.type && (this.defaultPage = parseInt(this.$route.query.type))
},
methods: {
getData() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论