|  | @@ -123,20 +123,19 @@ export default defineComponent({
 | 
	
		
			
				|  |  |          const schoolInfos = state.user.data.schoolInfos;
 | 
	
		
			
				|  |  |          const tenantId =
 | 
	
		
			
				|  |  |            schoolInfos.length > 0 ? schoolInfos[0].tenantId : null;
 | 
	
		
			
				|  |  | -        if (tenantId) {
 | 
	
		
			
				|  |  | -          const { data } = await api_tenantInfoDetail({
 | 
	
		
			
				|  |  | -            id: tenantId
 | 
	
		
			
				|  |  | -          });
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -          baseBookVerionList.value = data.bookVersionList || [];
 | 
	
		
			
				|  |  | -          bookVersionList.value = deepClone(baseBookVerionList.value);
 | 
	
		
			
				|  |  | -          const index = baseBookVerionList.findIndex(
 | 
	
		
			
				|  |  | -            (item: any) => item.bookVersionId == coursewareStorage.bookVersoinId
 | 
	
		
			
				|  |  | -          );
 | 
	
		
			
				|  |  | -          // 判断列表中是存在,缓存的教材数据
 | 
	
		
			
				|  |  | -          if (index < 0) {
 | 
	
		
			
				|  |  | -            forms.bookVersionId = null;
 | 
	
		
			
				|  |  | -          }
 | 
	
		
			
				|  |  | +        const { data } = await api_tenantInfoDetail({
 | 
	
		
			
				|  |  | +          id: tenantId
 | 
	
		
			
				|  |  | +        });
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        baseBookVerionList.value = data.bookVersionList || [];
 | 
	
		
			
				|  |  | +        bookVersionList.value = deepClone(baseBookVerionList.value);
 | 
	
		
			
				|  |  | +        const index = baseBookVerionList.findIndex(
 | 
	
		
			
				|  |  | +          (item: any) => item.bookVersionId == coursewareStorage.bookVersoinId
 | 
	
		
			
				|  |  | +        );
 | 
	
		
			
				|  |  | +        // 判断列表中是存在,缓存的教材数据
 | 
	
		
			
				|  |  | +        if (index < 0) {
 | 
	
		
			
				|  |  | +          forms.bookVersionId = null;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |        } catch {
 | 
	
		
			
				|  |  |          //
 |