| 
					
				 | 
			
			
				@@ -15,24 +15,26 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const Authorization = userStore.getToken || ''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const iframeRef = ref(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     console.log(Authorization); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    const notationOpenCreate = sessionStorage.getItem('notation-open-create'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    const openCreateUrl = notationOpenCreate == '1' ? '&addShow=1' : ''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const data = reactive({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       src: `${ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         /(192|localhost)/.test(location.origin) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           ? // ? 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          // 'https://test.lexiaoya.cn' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            'http://localhost:3050' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          : location.origin 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }/notation/#/create?Authorization=${Authorization}` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            'https://test.lexiaoya.cn' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          : // 'http://localhost:3050' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            location.origin 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }/notation/#/create?Authorization=${Authorization}${openCreateUrl}` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       //   src: `http://localhost:3050/#/create?Authorization=${Authorization}` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    const fscreen=()=> { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      const el = document.documentElement as any 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //进入全屏 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        (el.requestFullscreen && el.requestFullscreen()) || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    const fscreen = () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      const el = document.documentElement as any; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //进入全屏 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      (el.requestFullscreen && el.requestFullscreen()) || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         (el.mozRequestFullScreen && el.mozRequestFullScreen()) || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         (el.webkitRequestFullscreen && el.webkitRequestFullscreen()) || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        (el.msRequestFullscreen && el.msRequestFullscreen()) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        (el.msRequestFullscreen && el.msRequestFullscreen()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const handleOpen = (e: MessageEvent) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       console.log(e.data, 'data'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (e.data.api === 'notation_open') { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -42,12 +44,12 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           previewParams.value = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             url: e.data.url 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          fscreen() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          fscreen(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           window.open(e.data.url); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } else if (e.data.api === 'notation_exit') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        console.log('进来') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        console.log('进来'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         removeVisiable.value = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -100,13 +102,14 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   if (state.application) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     document.exitFullscreen 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    ? document.exitFullscreen() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    : document.mozCancelFullScreen 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    ? document.mozCancelFullScreen() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    : document.webkitExitFullscreen 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    ? document.webkitExitFullscreen() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    : '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                }}}> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      ? document.exitFullscreen() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      : document.mozCancelFullScreen 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      ? document.mozCancelFullScreen() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      : document.webkitExitFullscreen 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      ? document.webkitExitFullscreen() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      : ''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                }}> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 确定 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               </NButton> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               <NButton round onClick={() => (removeVisiable.value = false)}> 
			 |