Skip to content

Commit

Permalink
修复单选框只读配置不生效的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
eiixy committed Dec 23, 2020
1 parent a4d148c commit 4d96fe1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sczts-form-generator",
"version": "0.2.1",
"version": "0.2.2",
"description": "一款基于 element-ui 的表单设计器",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/select/input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
class="w100"
v-model="item.value"
:placeholder="item.attributes.placeholder"
:readonly="'readonly' in item.attributes ? item.attributes.readonly : false"
>
:readonly="'readonly' in item.attributes ? item.attributes.readonly : false"
<el-option
v-for="(option,i) in item.attributes.options"
:key="i"
Expand Down

0 comments on commit 4d96fe1

Please sign in to comment.