Commit 96727ad9 authored by 林生雨's avatar 林生雨

commit

parent 2aecdb85
......@@ -80,11 +80,9 @@ class MainManager {
});
}
void innerSetData(Map<String, String> map, String str) {
if (map[str] != null && !map[str].toString().empty()) {
CacheManager.getInstance()
.get(MEMORY_CACHE)
.save(str, map[str].toString());
void innerSetData(Map<String, dynamic> map, String str) {
if (map[str] != null && "${map[str]}".isNotEmpty) {
CacheManager.getInstance().get(MEMORY_CACHE).save(str, "${map[str]}");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment