...
|
...
|
@@ -726,8 +726,13 @@ layui.define(['table', 'form', 'laydate', 'admin', 'layer', 'laytpl', 'common', |
|
|
autoFlush(autoBtn);
|
|
|
});
|
|
|
|
|
|
var auto = JSON.parse(localStorage.getItem('alarm_auto__flush'));
|
|
|
autoBtn.find('input').prop('checked', auto);
|
|
|
try {
|
|
|
var auto = JSON.parse(localStorage.getItem('alarm_auto__flush'));
|
|
|
autoBtn.find('input').prop('checked', auto);
|
|
|
} catch (e) {
|
|
|
console.log(e);
|
|
|
}
|
|
|
|
|
|
|
|
|
autoFlush(autoBtn);
|
|
|
|
...
|
...
|
@@ -740,4 +745,4 @@ layui.define(['table', 'form', 'laydate', 'admin', 'layer', 'laytpl', 'common', |
|
|
});
|
|
|
})();
|
|
|
});
|
|
|
}); |
|
|
\ No newline at end of file |
|
|
}); |
...
|
...
|
|