Commit 583098ea by zhousil

解决serviceType传0获取不到的问题

parent c00d7bef
Showing with 1 additions and 1 deletions
......@@ -37,7 +37,7 @@ class Chat {
}
this._sdk = option.sdk;
this._orgId = option.orgId;
option.serviceType && (this.serviceType = option.serviceType);
option.serviceType !== undefined && (this.serviceType = option.serviceType);
option.product && (this.product = option.product);
this.eventHub = option.eventHub;
if (option.user) {
......
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 sign in to comment