ycw 1 年之前
父節點
當前提交
47c95083e0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      editor/js/Sidebar.Geometry.js

+ 1 - 1
editor/js/Sidebar.Geometry.js

@@ -195,7 +195,7 @@ function SidebarGeometry( editor ) {
 		const left = ( screen.width - 500 ) / 2;
 		const top = ( screen.height - 500 ) / 2;
 
-		const url = URL.createObjectURL( new Blob( [ output ], { type: 'text/plain' } ) );
+		const url = URL.createObjectURL( new Blob( [ output ], { type: 'text/plain;charset=utf-8' } ) );
 		window.open( url, '_blank', `location=no,left=${left},top=${top},width=500,height=500` );
 
 	} );