Skip to content

Commit

Permalink
Merge pull request #13 from Otto-J/feature/changeButtonType
Browse files Browse the repository at this point in the history
feat: 补充按钮默认样式和成功样式
  • Loading branch information
BoBoooooo authored Jun 7, 2021
2 parents 627ed06 + ff55bbb commit 45cbc57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/component/form-designer/src/WidgetConfig.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@
</el-form-item>
<el-form-item label="按钮类型" v-if="Object.keys(elementConfig.options).indexOf('btnType') >= 0">
<el-select size="mini" v-model="elementConfig.options.btnType">
<el-option value="" label="normal" />
<el-option value="primary" label="primary" />
<el-option value="sussess" label="sussess" />
<el-option value="success" label="success" />
<el-option value="warning" label="warning" />
<el-option value="danger" label="danger" />
<el-option value="info" label="info" />
Expand Down

0 comments on commit 45cbc57

Please sign in to comment.