diff --git a/src/assets/plugins/bootstrap-combobox/js/bootstrap-combobox-helper.js b/src/assets/plugins/bootstrap-combobox/js/bootstrap-combobox-helper.js index a991d3f..a2f4c5c 100644 --- a/src/assets/plugins/bootstrap-combobox/js/bootstrap-combobox-helper.js +++ b/src/assets/plugins/bootstrap-combobox/js/bootstrap-combobox-helper.js @@ -32,10 +32,10 @@ export default { build: function (val, idstr, defval) { var _this = this; if (val) { - if (Object.prototype.toString.call(val) === '[object Object]') { + if (Object.prototype.toString.call(val) === '[object Array]') { $(idstr).empty(); - $.each(val, function (n, value) { - $(idstr).append(""); + $.each(val, function (n, obj) { + $(idstr).append(""); }); $(idstr).btComboBox(); _this.setDef(idstr, defval); diff --git a/src/views/treasure/SeizeTreasureRewardView.vue b/src/views/treasure/SeizeTreasureRewardView.vue index 975c38d..75f3588 100644 --- a/src/views/treasure/SeizeTreasureRewardView.vue +++ b/src/views/treasure/SeizeTreasureRewardView.vue @@ -131,6 +131,7 @@