提交 ad87ebad authored 作者: lihuihui's avatar lihuihui

修改常见问题跳转

上级 b4f959e3
......@@ -41,6 +41,10 @@ export default {
}
},
mounted() {
this.$nextTick(() => {
console.log(this.data)
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() {
......
......@@ -41,20 +41,7 @@ export default {
methods: {
changeTab(index) {
this.activeIndex = index
},
// getData() {
// const requestType = ['申请条件', '申请流程', '常见问题', '学费', '贷款']
// requestType.map((item, index) => {
// this.request(item, index)
// })
// },
// request(name, index) {
// cAction.reportAction.getContent(name).then(json => {
// if (json !== null) {
// this.content[`module${index}`] = json[0].content
// }
// }).catch(e => { this.$message.error(e.message) }).finally(() => {})
// }
}
},
}
</script>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论