Skip to content

Commit

Permalink
fix: 复制后选中错误的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
sscfaith committed Mar 9, 2022
1 parent c041932 commit abce3f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/WidgetForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export default {
cloneData.prop = 'a' + Date.now() + Math.ceil(Math.random() * 99999)
this.data.column.push(cloneData)
this.$nextTick(() => {
this.handleSelectWidget(index + 1)
this.handleSelectWidget(this.data.column.length - 1)
this.$emit("change")
})
},
Expand Down

0 comments on commit abce3f3

Please sign in to comment.