|
@@ -280,23 +280,15 @@ const goBack = () => {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
const goToAIExperience = outlineData => {
|
|
const goToAIExperience = outlineData => {
|
|
|
- if (outlineData.ctTypeSort === 2) {
|
|
|
|
|
|
|
+
|
|
|
|
|
+ // if (outlineData.ctTypeSort === 2) {
|
|
|
router.push({
|
|
router.push({
|
|
|
path: '/ai-develop', // 跳转视频页面
|
|
path: '/ai-develop', // 跳转视频页面
|
|
|
query: { typeId: outlineData.id, typeName: outlineData.ctType }
|
|
query: { typeId: outlineData.id, typeName: outlineData.ctType }
|
|
|
})
|
|
})
|
|
|
- } else {
|
|
|
|
|
- if (localStorage.getItem('userName') === 'aiTest') {
|
|
|
|
|
- } else {
|
|
|
|
|
- //提示禁用
|
|
|
|
|
- Message().notifyWarning(
|
|
|
|
|
- localStorage.getItem('userName') === 'aiTest'
|
|
|
|
|
- ? '您的账号并未开放此课程!'
|
|
|
|
|
- : '演示版未开放此课程!',
|
|
|
|
|
- true
|
|
|
|
|
- )
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // } else {
|
|
|
|
|
+ // Message().notifyWarning(localStorage.getItem('userName') === "aiTest" ? '您的账号并未开放此课程!' : '演示版未开放此课程!', true)
|
|
|
|
|
+ // }
|
|
|
}
|
|
}
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|