Skip to content

Commit

Permalink
Fix data without clone change refresh the select bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wenzhixin committed Jul 4, 2024
1 parent c1fb8be commit cd087a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "multiple-select",
"main": "dist/multiple-select.min.js",
"module": "dist/multiple-select-es.min.js",
"version": "2.0.5",
"version": "2.0.6",
"type": "module",
"title": "Multiple Select",
"description": "Multiple select is a jQuery plugin to select multiple elements with checkboxes :).",
Expand Down
2 changes: 1 addition & 1 deletion src/vue/MultipleSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export default {
single: !this.multiple,
width: this.width,
size: this.size,
data: this.data
data: deepCopy(this.data)
}
if (!this._hasInit) {
Expand Down

0 comments on commit cd087a2

Please sign in to comment.