Commit 4c492378 authored by antoor's avatar antoor

Modify the default option

设置默认选项为不使用
parent 812af1f0
...@@ -270,7 +270,7 @@ class Form { ...@@ -270,7 +270,7 @@ class Form {
_createOtherForm(arg) { _createOtherForm(arg) {
const opt = Object.assign({}, { const opt = Object.assign({}, {
'ignore-https': 0, 'ignore-https': 0,
'terminal-cache': 1, 'terminal-cache': 0,
'request-timeout': '10000' 'request-timeout': '10000'
}, arg.otherConf); }, arg.otherConf);
const form = this.accordion.cells('other').attachForm([{ const form = this.accordion.cells('other').attachForm([{
...@@ -281,7 +281,7 @@ class Form { ...@@ -281,7 +281,7 @@ class Form {
type: "checkbox", name: 'ignore-https', label: LANG['list']['otherConf']['nohttps'], type: "checkbox", name: 'ignore-https', label: LANG['list']['otherConf']['nohttps'],
checked: opt['ignore-https'] === 1 checked: opt['ignore-https'] === 1
}, { }, {
type: "checkbox", name: 'terminal-cache', label: LANG['list']['otherConf']['notermcache'], type: "checkbox", name: 'terminal-cache', label: LANG['list']['otherConf']['terminalCache'],
checked: opt['terminal-cache'] === 1 checked: opt['terminal-cache'] === 1
}, { }, {
type: "label", label: '请求超时' type: "label", label: '请求超时'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment