PDA旋转,不重置activity;采取配置化,是否强制竖屏、强制横屏
This commit is contained in:
@ -104,7 +104,8 @@
|
||||
var data=JSON.stringify({
|
||||
"address":document.getElementById('address').value,
|
||||
"port":document.getElementById('port').value,
|
||||
"path":document.getElementById('path').value
|
||||
"path":document.getElementById('path').value,
|
||||
"screen_rotation":document.getElementById('screen_rotation').value
|
||||
});
|
||||
window.NetworkSettingEngine.saveSetting(data);
|
||||
window.View.reload();
|
||||
@ -130,6 +131,10 @@
|
||||
<label>访问子路径</label>
|
||||
<input id="path" name="path" placeholder="访问子路径">
|
||||
</div>
|
||||
<div class="net-list">
|
||||
<label>屏幕旋转</label>
|
||||
<input id="screen_rotation" value="3" name="screen_rotation" placeholder="1:强制竖屏;2:强制横屏;3:横竖都转">
|
||||
</div>
|
||||
</div>
|
||||
<div class="operation">
|
||||
<button style="background: #1989fa;" onclick="saveSetting()">保存</button>
|
||||
|
||||
Reference in New Issue
Block a user