Update main.js

This commit is contained in:
钟进 2018-11-08 08:56:05 +08:00
parent 0b6ea3e446
commit ce22a0c66a

View File

@ -567,6 +567,8 @@ function parseConfig(callback) {
let oldObjects = list;
let newObjects = [];
adapter.config.yz.sort(sortByAddress);
adapter.config.disInputs.sort(sortByAddress);
adapter.config.coils.sort(sortByAddress);
adapter.config.inputRegs.sort(sortByAddress);