Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
BoBoooooo committed Feb 19, 2019
1 parent 49a4736 commit 0bc16aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/FormDesigner/GenerateFormItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export default {
url: this.widget.options.remoteFunc,
method: 'post',
}).then((res) => {
this.widget.options.remoteOptions = res.data.list.map(item => ({
this.widget.options.remoteOptions = res.data.map(item => ({
value: item[this.widget.options.props.value],
label: item[this.widget.options.props.label],
}))
Expand Down

0 comments on commit 0bc16aa

Please sign in to comment.