提交 22dce168 编写于 作者: W wangzemei

* Solve the problem of garbled drop-down options

上级 88d517d0
......@@ -1291,7 +1291,7 @@
};
Picker.prototype.getItemID = function(item, suffix) {
var id = this.id + '-item-' + encodeURIComponent(item[this.options.valueKey]);
var id = this.id + '-item-' + btoa(encodeURIComponent(item[this.options.valueKey])).replace(/\+/g, '_').replace(/=/g, '-');
if (suffix !== undefined) {
return id + '-' + suffix;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册