@@ -152,6 +152,11 @@ export default {
this.context = JSON.parse(content);
return;
}
+
+ if (category === 'NEW') {
+ this.context = JSON.parse(content);
+ return;
+ }
);
});
@@ -142,6 +142,11 @@ export default {
@@ -301,6 +301,11 @@ export default {
})
.then(() => {
if (this.isFinished && !this.isCurMaterial) {
@@ -162,6 +162,11 @@ function getCoursewareContent_View() {
context.value = JSON.parse(content);
+ if (category.value === 'NEW') {
+ context.value = JSON.parse(content);
@@ -292,6 +292,11 @@ export default {
},
@@ -98,6 +98,11 @@ export default {