Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
BoBoooooo committed Feb 3, 2019
1 parent 893ba89 commit df816ce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/components/FormDesigner/Container.vue
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,8 @@ import 'vue-awesome/icons/chalkboard'
import 'vue-awesome/icons/upload'
import GenerateForm from './GenerateForm'
// import JSONEditor from 'jsoneditor'
// eslint-disable-next-line no-unused-vars
import JSONEditor from 'jsoneditor'
import 'jsoneditor/dist/jsoneditor.min.css'
import Clipboard from 'clipboard'
import { basicComponents, layoutComponents, advanceComponents } from './componentsConfig.js'
Expand Down
6 changes: 5 additions & 1 deletion src/components/FormDesigner/WidgetForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,11 @@ export default {
...row.columns[colIndex].list[newIndex],
options: {
...row.columns[colIndex].list[newIndex].options,
remoteFunc: `func_${key}`,
remoteFunc: '',
props: {
label: '',
value: '',
},
},
key,
// 绑定键值
Expand Down

0 comments on commit df816ce

Please sign in to comment.