Browse Source

优化一下

es6
guy 4 years ago
parent
commit
6cc09d6ef2
  1. 4
      dist/fix/worker.compact.js

4
dist/fix/worker.compact.js vendored

@ -78,7 +78,7 @@
}); });
var store = {}; var store = {};
this.store = new Proxy(store, { this.store = new Proxy(store, {
get (target, key) { get: function (target, key) {
return function () { return function () {
WORKER.postMessage({ WORKER.postMessage({
type: modelType, type: modelType,
@ -89,7 +89,7 @@
}); });
}; };
}, },
set (target, key, value) { set: function (target, key, value) {
return Reflect.set(target, key, value); return Reflect.set(target, key, value);
} }
}); });

Loading…
Cancel
Save