Commit 670ae7af authored by Facius's avatar Facius

improvement: 首页跳转

parent 96ab3b90
...@@ -77,7 +77,7 @@ export default { ...@@ -77,7 +77,7 @@ export default {
'金属非金属矿山支柱作业', '金属非金属矿山支柱作业',
'金属非金属矿山井下电气作业', '金属非金属矿山井下电气作业',
'金属非金属矿山排水作业', '金属非金属矿山排水作业',
'金属非金属矿山爆破作业,', '金属非金属矿山爆破作业',
'金属非金属矿山安全检查作业(地下矿山)', '金属非金属矿山安全检查作业(地下矿山)',
'司钻作业(井下作业)', '司钻作业(井下作业)',
'司钻作业(钻井作业)', '司钻作业(钻井作业)',
......
...@@ -292,8 +292,11 @@ export default { ...@@ -292,8 +292,11 @@ export default {
}) })
} else { } else {
// 绑卡提示 // 绑卡提示
this.type = 'bound' // this.type = 'bound'
this.show = true // this.show = true
this.$u.route({
url: 'pages/learn/detail',
})
} }
} else { } else {
this.$u.route({ this.$u.route({
...@@ -371,7 +374,6 @@ export default { ...@@ -371,7 +374,6 @@ export default {
} }
}, },
handleClick(path, params) { handleClick(path, params) {
debugger
if (this.info.cardId) { if (this.info.cardId) {
if (params) { if (params) {
this.setPageInfo(params) this.setPageInfo(params)
...@@ -383,8 +385,11 @@ export default { ...@@ -383,8 +385,11 @@ export default {
} else if (this.info.id) { } else if (this.info.id) {
// 已选题库未绑卡 // 已选题库未绑卡
// 绑卡 // 绑卡
this.type = 'bound' // this.type = 'bound'
this.show = true // this.show = true
this.$u.route({
url: 'pages/learn/detail',
})
} else { } else {
this.$u.route({ this.$u.route({
url: 'pages/learn/selectCategory', url: 'pages/learn/selectCategory',
......
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