show3DModel 判斷 launchViewerNoTools 是否存在
This commit is contained in:
		
							parent
							
								
									ac2b16d127
								
							
						
					
					
						commit
						74f25324d9
					
				@ -1044,6 +1044,7 @@
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  function show3DModel() {
 | 
					  function show3DModel() {
 | 
				
			||||||
 | 
					    if(typeof launchViewerNoTools != "undefined"){
 | 
				
			||||||
      launchViewerNoTools(
 | 
					      launchViewerNoTools(
 | 
				
			||||||
        pageAct.urn,
 | 
					        pageAct.urn,
 | 
				
			||||||
        (viewer) => {
 | 
					        (viewer) => {
 | 
				
			||||||
@ -1070,6 +1071,7 @@
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
      );
 | 
					      );
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  $(window).on("timeout:5m", function () {
 | 
					  $(window).on("timeout:5m", function () {
 | 
				
			||||||
    console.log("五分鐘更新");
 | 
					    console.log("五分鐘更新");
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user