Skip to content

Commit 86da62a

Browse files
committed
重构SynoInfoTab,移除不必要的复选框,添加新的字段以支持磁盘和系统分区配置
1 parent 4083894 commit 86da62a

File tree

1 file changed

+17
-36
lines changed

1 file changed

+17
-36
lines changed

src/src/panels/settings/synoInfoTab.js

Lines changed: 17 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -14,53 +14,34 @@ export default Ext.define('SYNOCOMMUNITY.RRManager.Setting.SynoInfoTab', {
1414
name: 'synoinfo',
1515
items: [
1616
{
17-
boxLabel: 'Support Disk compatibility',
18-
name: 'support_disk_compatibility',
19-
xtype: 'syno_checkbox',
20-
},
21-
{
22-
boxLabel: 'Support Memory compatibility',
23-
name: 'support_memory_compatibility',
24-
xtype: 'syno_checkbox',
25-
},
26-
{
27-
boxLabel: 'Support Led brightness adjustment',
28-
name: 'support_led_brightness_adjustment',
29-
xtype: 'syno_checkbox',
30-
},
31-
{
32-
boxLabel: 'Support leds lp3943',
33-
name: 'support_leds_lp3943',
34-
xtype: 'syno_checkbox',
35-
},
36-
{
37-
boxLabel: 'Support syno hybrid RAID',
38-
name: 'support_syno_hybrid_raid',
39-
xtype: 'syno_checkbox',
40-
},
41-
{
42-
boxLabel: 'Support RAID group',
43-
name: 'supportraidgroup',
44-
xtype: 'syno_checkbox',
17+
fieldLabel: 'maxdisks',
18+
name: 'maxdisks',
19+
allowBlank: true,
20+
xtype: 'syno_numberfield',
4521
},
4622
{
47-
fieldLabel: 'Max LAN port',
48-
name: 'maxlanport',
49-
allowBlank: false,
23+
fieldLabel: 'internalportcfg',
24+
name: 'internalportcfg',
25+
allowBlank: true,
5026
xtype: 'syno_numberfield',
5127
},
5228
{
53-
fieldLabel: 'Netif seq',
54-
name: 'netif_seq',
55-
allowBlank: false,
29+
fieldLabel: 'esataportcfg',
30+
name: 'esataportcfg',
31+
allowBlank: true,
5632
xtype: 'syno_textfield',
5733
},
5834
{
59-
fieldLabel: 'Buzzer offen',
60-
name: 'buzzeroffen',
35+
fieldLabel: 'usbportcfg',
36+
name: 'usbportcfg',
6137
allowBlank: true,
6238
xtype: 'syno_textfield',
6339
},
40+
{
41+
fieldLabel: 'max_sys_raid_disks',
42+
name: 'max_sys_raid_disks',
43+
allowBlank: true,
44+
}
6445
],
6546
}),
6647
],

0 commit comments

Comments
 (0)