Commit fda78468 authored by antoor's avatar antoor

Exclude custom type

排除Custom类型
parent cebbef58
...@@ -198,9 +198,13 @@ class Form { ...@@ -198,9 +198,13 @@ class Form {
let _ = [ let _ = [
{ type: 'settings', position: 'label-right', offsetLeft: 60, labelWidth: 100 }, { type: 'settings', position: 'label-right', offsetLeft: 60, labelWidth: 100 },
{ type: 'label', label: LANG['list']['add']['form']['encoder'] }, { type: 'label', label: LANG['list']['add']['form']['encoder'] },
{ type: 'radio', name: `encoder_${c}`, value: 'default', label: 'default', checked: true }, { type: 'radio', name: `encoder_${c}`, value: 'default', label: 'default', checked: true }
{ type: 'radio', name: `encoder_${c}`, value: 'random', label: 'random' }
]; ];
if (c !== 'custom') {
_.push({
type: 'radio', name: `encoder_${c}`, value: 'random', label: 'random'
});
}
encoders.map((e) => { encoders.map((e) => {
_.push({ _.push({
type: 'radio', name: `encoder_${c}`, type: 'radio', name: `encoder_${c}`,
......
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