|  | @@ -107,7 +107,7 @@ export default defineComponent({
 | 
	
		
			
				|  |  |      const route = useRoute()
 | 
	
		
			
				|  |  |      const headeRef = ref()
 | 
	
		
			
				|  |  |      const data = reactive({
 | 
	
		
			
				|  |  | -      detail: null,
 | 
	
		
			
				|  |  | +      detail: null as any,
 | 
	
		
			
				|  |  |        knowledgePointList: [] as any,
 | 
	
		
			
				|  |  |        itemList: [] as any,
 | 
	
		
			
				|  |  |        showHead: true,
 | 
	
	
		
			
				|  | @@ -315,21 +315,24 @@ export default defineComponent({
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -    onMounted(() => {
 | 
	
		
			
				|  |  | -      const hasVip = handleCheckVip()
 | 
	
		
			
				|  |  | -      if (!hasVip) {
 | 
	
		
			
				|  |  | -        nextTick(() => {
 | 
	
		
			
				|  |  | -          postMessage({
 | 
	
		
			
				|  |  | -            api: 'courseLoading',
 | 
	
		
			
				|  |  | -            content: {
 | 
	
		
			
				|  |  | -              show: false,
 | 
	
		
			
				|  |  | -              type: 'fullscreen'
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | +    onMounted(async () => {
 | 
	
		
			
				|  |  | +      await getDetail()
 | 
	
		
			
				|  |  | +      const hasFree = String(data.detail?.accessScope) === '0'
 | 
	
		
			
				|  |  | +      if (!hasFree){
 | 
	
		
			
				|  |  | +        const hasVip = handleCheckVip()
 | 
	
		
			
				|  |  | +        if (!hasVip) {
 | 
	
		
			
				|  |  | +          nextTick(() => {
 | 
	
		
			
				|  |  | +            postMessage({
 | 
	
		
			
				|  |  | +              api: 'courseLoading',
 | 
	
		
			
				|  |  | +              content: {
 | 
	
		
			
				|  |  | +                show: false,
 | 
	
		
			
				|  |  | +                type: 'fullscreen'
 | 
	
		
			
				|  |  | +              }
 | 
	
		
			
				|  |  | +            })
 | 
	
		
			
				|  |  |            })
 | 
	
		
			
				|  |  | -        })
 | 
	
		
			
				|  |  | -        return
 | 
	
		
			
				|  |  | +          return
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  | -      getDetail()
 | 
	
		
			
				|  |  |        getCourseSchedule()
 | 
	
		
			
				|  |  |        window.addEventListener('message', iframeHandle)
 | 
	
		
			
				|  |  |      })
 |