From 4d96fe148676a14ffd4677a45cd54b8b9828c0be Mon Sep 17 00:00:00 2001 From: eiixy <990656271@qq.com> Date: Wed, 23 Dec 2020 14:33:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8D=95=E9=80=89=E6=A1=86?= =?UTF-8?q?=E5=8F=AA=E8=AF=BB=E9=85=8D=E7=BD=AE=E4=B8=8D=E7=94=9F=E6=95=88?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/widgets/select/input.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"