|  | @@ -9,6 +9,9 @@ const mixin = {
 | 
	
		
			
				|  |  |        snGenerationMethodList,
 | 
	
		
			
				|  |  |        viewMethodList,
 | 
	
		
			
				|  |  |        audioViewMethodList,
 | 
	
		
			
				|  |  | +      property: {
 | 
	
		
			
				|  |  | +        isGetContent: false, // 是否已获取内容
 | 
	
		
			
				|  |  | +      },
 | 
	
		
			
				|  |  |      };
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    props: {
 | 
	
	
		
			
				|  | @@ -34,16 +37,15 @@ const mixin = {
 | 
	
		
			
				|  |  |        id: this.id,
 | 
	
		
			
				|  |  |        deleteComponent: this.deleteComponent,
 | 
	
		
			
				|  |  |        handleComponentMove: this.handleComponentMove,
 | 
	
		
			
				|  |  | +      property: this.property,
 | 
	
		
			
				|  |  |      };
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    inject: ['courseware_id'],
 | 
	
		
			
				|  |  |    created() {
 | 
	
		
			
				|  |  |      GetCoursewareComponentContent({ courseware_id: this.courseware_id, component_id: this.id }).then(({ content }) => {
 | 
	
		
			
				|  |  |        if (content) {
 | 
	
		
			
				|  |  | -        this.$nextTick(() => {
 | 
	
		
			
				|  |  | -          // 数据加载完成后的操作
 | 
	
		
			
				|  |  | -          this.data = JSON.parse(content);
 | 
	
		
			
				|  |  | -        });
 | 
	
		
			
				|  |  | +        this.data = JSON.parse(content);
 | 
	
		
			
				|  |  | +        this.property.isGetContent = true;
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      });
 | 
	
		
			
				|  |  |    },
 |