Commit 3b7fb07c authored by 郑明's avatar 郑明

Merge branch 'fix/dataCenter' into 'dev'

(fix) dataCetner 0 value

See merge request !2
parents 0a4af8af 57332a36
......@@ -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