Skip to content

Commit

Permalink
Fix #2463
Browse files Browse the repository at this point in the history
  • Loading branch information
pissang committed Jan 21, 2016
1 parent 218a419 commit 80dfe0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/model.js
Expand Up @@ -299,7 +299,7 @@ define(function(require) {
*/
getRawValue: function (idx) {
var itemModel = this.getData().getItemModel(idx);
if (itemModel && itemModel.option) {
if (itemModel && itemModel.option != null) {
var dataItem = itemModel.option;
return (zrUtil.isObject(dataItem) && !zrUtil.isArray(dataItem))
? dataItem.value : dataItem;
Expand Down

0 comments on commit 80dfe0c

Please sign in to comment.