(backupId)
| 1142 | let newbaks = $.getjson($.KEY_backups, []) |
| 1143 | const isEmpty = (bak) => [undefined, null, ''].includes(bak) |
| 1144 | const isExistsInNew = (backupId) => newbaks.find((bak) => bak.id === backupId) |
| 1145 | |
| 1146 | // 存在旧备份数据时, 升级备份数据格式 |
| 1147 | if (!isEmpty(oldbaks)) { |