|
@@ -226,8 +226,10 @@ export default {
|
|
|
},
|
|
|
chooseContent(contentItem, index) {
|
|
|
if (contentItem.type === "THIRD_PARTY") {
|
|
|
- // window.location.href = contentItem.contents;
|
|
|
- window.open(contentItem.contents);
|
|
|
+ if (contentItem.contents) {
|
|
|
+ // window.location.href = contentItem.contents;
|
|
|
+ window.open(contentItem.contents);
|
|
|
+ }
|
|
|
} else {
|
|
|
this.$router.push({
|
|
|
name: "learn-content",
|