Commit 6b42fe9e authored by rockyl's avatar rockyl

Merge remote-tracking branch 'origin/dev' into dev

parents 16f854c7 3b7fb07c
......@@ -35,7 +35,7 @@ export default class DataCenter extends EventEmitter{
* @param value
*/
public set(type: string, key: string, value?) {
if (!value) {
if (arguments.length <= 2) {
//if (this.store[type]) console.warn(`This operation will override all ${this.store[type]}`);
this.store[type] = key;
} else {
......
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