Compare commits
No commits in common. "3fb3eb8135b5d11a6bbffb45c444d8fde53b42f0" and "5210c9d9cd3ebb92f25f6d9aa420cdd676d314ab" have entirely different histories.
3fb3eb8135
...
5210c9d9cd
@ -83,7 +83,7 @@ const list: KeyType[] = [
|
||||
{ label: '车库门索引', key: 'id' },
|
||||
{ label: '车库门名称', key: 'code', formatFn: getNameFormat },
|
||||
{ label: '车库门关闭', key: 'mgj', formatFn: getName },
|
||||
// { label: '状态丢失', key: 'stateLoss', formatFn: getName },
|
||||
{ label: '状态丢失', key: 'stateLoss', formatFn: getName },
|
||||
{ label: '车库门强制', key: 'param', formatFn: getForceName },
|
||||
{ label: '设置故障', key: 'param', formatFn: getFaultName },
|
||||
];
|
||||
@ -127,8 +127,8 @@ function getForceName() {
|
||||
}
|
||||
|
||||
function getFaultName() {
|
||||
if (garageDoorFault.value == request.Ckm.Fault.FA_State_Loss) return '状态丢失';
|
||||
return '无';
|
||||
if (garageDoorFault.value == 1) return '是';
|
||||
return '否';
|
||||
}
|
||||
|
||||
function initGarageDoorState(garageDoor: GarageDoor) {
|
||||
|
Loading…
Reference in New Issue
Block a user