多行文本

This commit is contained in:
Jam committed 2023-05-05 10:45:49 +08:00
1 parent 02621bbb38
commit 21abf90722
1 file changed
+11 -1
+11 -1
View File
@@ -2,7 +2,6 @@
<script type="text/html" id="form-item">
<div>
<span class="jh-input-label">{{ formItem.statement }}</span>
<!-- 文本 -->
<v-text-field
v-if="formItem.type === 'input'"
@@ -14,6 +13,17 @@
:readonly="typeof readonly == 'boolean'? readonly: readonly.indexOf(formItem.id) > -1"
></v-text-field>
<!-- 文本 -->
<v-text-field
v-if="formItem.type === 'textarea'"
:rules="validationRules.requireRules"
class="jh-v-input"
dense single-line filled
label=""
v-model="formItem.answer"
:readonly="typeof readonly == 'boolean'? readonly: readonly.indexOf(formItem.id) > -1"
></v-text-field>
<!-- 单选 -->
<v-select
v-if="formItem.type === 'single'"