diff --git a/package.json b/package.json index cbf90fd..ce3bc33 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sczts-form-generator", - "version": "0.2.1", + "version": "0.2.2", "description": "一款基于 element-ui 的表单设计器", "main": "index.js", "scripts": { diff --git a/src/widgets/select/input.vue b/src/widgets/select/input.vue index 6eb3306..08bd325 100644 --- a/src/widgets/select/input.vue +++ b/src/widgets/select/input.vue @@ -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"