Update index_m.html

This commit is contained in:
钟进 2018-09-26 17:38:30 +08:00
parent f504bf3a02
commit 7878833ee0

View File

@ -101,10 +101,11 @@
var fields = [
{name: 'deviceId' , title: _('deviceId'), type: 'text', width: '60px', sorter: 'number'},
{name: 'deviceId' , title: _('deviceId'), type: 'text', width: '30px', sorter: 'number'},
{name: 'ip' , title: _('ip'), type: 'text', width: '110px', sorter: 'number'},
{name: 'port' , title: _('port'), type: 'text', width: '60px', sorter: 'number'},
{name: 'name' , title: _('Name'), type: 'text', width: '*'},
{name: 'username' , title: _('Name'), type: 'text', width: '*'},
{name: 'password' , title: _('Name'), type: 'text', width: '*'},
{name: 'description', title: _('Description'), type: 'text', width: '*'},
{ type: 'control', width: '80px'}
];
@ -249,13 +250,6 @@
if (data[id].length) {
var max = 0;
obj.item.role = data[id][data[id].length - 1].role;
obj.item.poll = data[id][data[id].length - 1].poll;
obj.item.wp = data[id][data[id].length - 1].wp;
obj.item.cw = data[id][data[id].length - 1].cw;
obj.item.type = data[id][data[id].length - 1].type;
obj.item.len = data[id][data[id].length - 1].len;
obj.item.factor = data[id][data[id].length - 1].factor;
obj.item.offset = data[id][data[id].length - 1].offset;
obj.item.deviceId = data[id][data[id].length - 1].deviceId;
var len;