Skip to content

Commit

Permalink
[feature]{componentsConfig}: 新增级联选择器组件
Browse files Browse the repository at this point in the history
  • Loading branch information
BoBoooooo committed May 8, 2019
1 parent 5172e3d commit e4e22e6
Show file tree
Hide file tree
Showing 3 changed files with 181 additions and 176 deletions.
11 changes: 10 additions & 1 deletion src/components/FormDesigner/GenerateFormItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,16 @@
<upload-affix :params="widget.options.uploadParams"
:readonly="widget.options.readonly" />
</template>

<template v-if="widget.type == 'cascader'">
<el-cascader v-model="dataModel"
:disabled="widget.options.disabled"
:clearable="widget.options.clearable"
:placeholder="widget.options.placeholder"
:style="{width: widget.options.width}"
:options="widget.options.remoteOptions">

</el-cascader>
</template>
</el-form-item>
</template>

Expand Down
Loading

0 comments on commit e4e22e6

Please sign in to comment.