mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 05:00:25 +08:00 
			
		
		
		
	优化文字
This commit is contained in:
		@@ -22,11 +22,13 @@ Vue.component("http-request-scripts-config-box", {
 | 
			
		||||
	template: `<div>
 | 
			
		||||
	<input type="hidden" name="requestScriptsJSON" :value="JSON.stringify(config)"/>
 | 
			
		||||
	<div class="margin"></div>
 | 
			
		||||
	<h4>请求初始化</h4>
 | 
			
		||||
	<h4 style="margin-bottom: 0">请求初始化</h4>
 | 
			
		||||
	<p class="comment">在请求刚初始化时调用,此时自定义Header等尚未生效。</p>
 | 
			
		||||
	<div>
 | 
			
		||||
		<script-config-box id="init-script" :v-script-config="config.onInitScript" comment="在接收到客户端请求之后立即调用。预置req、resp变量。" @change="changeInitScript"></script-config-box>
 | 
			
		||||
	</div>
 | 
			
		||||
	<h4>准备发送请求</h4>
 | 
			
		||||
	<h4 style="margin-bottom: 0">准备发送请求</h4>
 | 
			
		||||
	<p class="comment">在准备执行请求或者转发请求之前调用,此时自定义Header、源站等已准备好。</p>
 | 
			
		||||
	<div>
 | 
			
		||||
		<script-config-box id="request-script" :v-script-config="config.onRequestScript" comment="在准备好转发客户端请求之前调用。预置req、resp变量。" @change="changeRequestScript"></script-config-box>
 | 
			
		||||
	</div>
 | 
			
		||||
 
 | 
			
		||||
@@ -10,8 +10,8 @@
 | 
			
		||||
            <tr>
 | 
			
		||||
                <td class="title">CPU线程数</td>
 | 
			
		||||
                <td>
 | 
			
		||||
                    <input type="text" name="maxCPU" v-model="node.maxCPU" style="width:5em" maxlength="5em"/>
 | 
			
		||||
                    <p class="comment">当前节点可以使用的最多的CPU线程数,如果为0表示可以使用全部CPU。</p>
 | 
			
		||||
                    <input type="text" name="maxCPU" v-model="node.maxCPU" style="width:5em" maxlength="4"/>
 | 
			
		||||
                    <p class="comment">当前节点可以使用的最多的CPU线程数,如果为0则默认为4倍的CPU线程数。</p>
 | 
			
		||||
                </td>
 | 
			
		||||
            </tr>
 | 
			
		||||
        </table>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user