Przeglądaj źródła

zh doc: sync with en doc from 6446269f to 818cbfee

gogoend 5 lat temu
rodzic
commit
a1ae3e165d

+ 0 - 3
docs/api/zh/loaders/FileLoader.html

@@ -69,9 +69,6 @@
 			请参考 [page:.setMimeType]。默认为 *undefined*。
 		</p>
 
-		<h3>[property:object requestHeader]</h3>
-		<p>[link:https://developer.mozilla.org/en-US/docs/Glossary/Request_header request header] 在HTTP 请求中使用。 请参考 [page:.setRequestHeader]。 默认为 *undefined*.</p>
-
 		<h3>[property:String responseType]</h3>
 		<p>请求的响应类型。 请参考 [page:.setResponseType]. 默认为 *undefined*.</p>
 

+ 12 - 1
docs/api/zh/loaders/Loader.html

@@ -48,7 +48,11 @@
 		<p>
 			The base path from which additional resources like textures will be loaded.
 			Default is the empty string.
-		</p>
+
+		<h3>[property:object requestHeader]</h3>
+		<p>
+			[link:https://developer.mozilla.org/en-US/docs/Glossary/Request_header request header] 在HTTP 请求中使用。 请参考 [page:.setRequestHeader]。 默认为 *undefined*。
+		</p>	
 
 		<h2>方法</h2>
 
@@ -89,6 +93,13 @@
 			[page:String resourcePath] — Set the base path for dependent resources like textures.
 		</p>
 
+		<h3>[method:Loader setRequestHeader]( [param:Object requestHeader] )</h3>
+		<p>
+			[page:object requestHeader] - key: The name of the header whose value is to be set. value: The value to set as the body of the header.<br /><br />
+
+			Set the [link:https://developer.mozilla.org/en-US/docs/Glossary/Request_header request header] used in HTTP request.
+		</p>
+
 		<h2>Source</h2>
 
 		<p>

+ 1 - 1
docs/manual/zh/introduction/Useful-links.html

@@ -13,7 +13,7 @@
 		<p class="desc">
 			The following is a collection of links that you might find useful when learning three.js.<br />
 			If you find something that you'd like to add here, or think that one of the links below is no longer
-			relevant or working, feel free to click the 'edit' button in the top right and make some changes!<br /><br />
+			relevant or working, feel free to click the 'edit' button in the bottom right and make some changes!<br /><br />
 
 			Note also that as three.js is under rapid development, a lot of these links will contain information that is
 			out of date - if something isn't working as you'd expect or as one of these links says it should,