Skip to content
This repository has been archived by the owner on Jan 10, 2018. It is now read-only.

ES6语法在部分浏览器(微信)不支持 #5

Open
chenfengjw163 opened this issue Dec 21, 2015 · 1 comment
Open

ES6语法在部分浏览器(微信)不支持 #5

chenfengjw163 opened this issue Dec 21, 2015 · 1 comment

Comments

@chenfengjw163
Copy link

Index.js中第567行,Symbol语法在微信的qq浏览器(android版本)不支持,会报出Symbol is not defined错误,导致所有相关联功能无法使用,临时修改为:

for (var i = 0,_step; i < this._messageClasses.length; i++) {
                var Klass = this._messageClasses[i];
                try {
                    var messageCopy = angular.copy(message);
                    if (Klass.validate(messageCopy)) {
                      var result = Klass.parse(messageCopy);
                      if (result !== undefined) {
                        return result;
                      }
                    }
                } catch (e) {}
            };
@t0ny-peng
Copy link

这个问题我也看到了,好像无解

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants