Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ie6/7下的问题 #12

Open
berryliu opened this issue Apr 18, 2014 · 4 comments
Open

ie6/7下的问题 #12

berryliu opened this issue Apr 18, 2014 · 4 comments

Comments

@berryliu
Copy link

msg不能为数字,否则剥离了默认的消息前缀后,数字参数不能被调用

@biqing
Copy link
Owner

biqing commented May 1, 2014

感谢反馈,五一后回办公室我再确认一下~

@biqing
Copy link
Owner

biqing commented May 7, 2014

hi, @Jberryliu
我在IE6/7使用示例页面发送数字消息没有问题, 因为这里的数字在发送时会被转为字符串, 这让我意识到你是不是在发送消息时直接传入了Number类型的参数?

消息的类型必须为字符串类型, 参见这里.

更多的, 建议传递消息时使用JSON String格式, 更方便扩展.

@berryliu
Copy link
Author

berryliu commented May 8, 2014

sorry,之前问题里的msg应该是project name。
project name为数字开头的话IE6、7下会有问题。
你在拿返回数据的时候,处理project name会剥离你的默认前缀,导致数字开头,取不到数据。
所以可能要注明一下,project name不能为数字开头

@biqing
Copy link
Owner

biqing commented May 8, 2014

@Jberryliu 现已兼容数字开头的前缀, 你再试一下?
fix in commit#a7c5715

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

No branches or pull requests

2 participants