diff --git a/customize.dist/store.js b/customize.dist/store.js index 4f921805c..c5c758146 100644 --- a/customize.dist/store.js +++ b/customize.dist/store.js @@ -19,7 +19,7 @@ define(function () { // implement in alternative store Store.setBatch = function (map, cb) { Object.keys(map).forEach(function (key) { - localStorage.setItem(key, map[key]); + localStorage.setItem(key, JSON.stringify(map[key])); }); cb(void 0, map); };