|
@@ -226,8 +226,10 @@ export default {
|
|
},
|
|
},
|
|
chooseContent(contentItem, index) {
|
|
chooseContent(contentItem, index) {
|
|
if (contentItem.type === "THIRD_PARTY") {
|
|
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 {
|
|
} else {
|
|
this.$router.push({
|
|
this.$router.push({
|
|
name: "learn-content",
|
|
name: "learn-content",
|