Commit 3a7049a3 by yancanhua

feat: 自测问题修改

1 parent 0bf11568
Pipeline #138 for 3a7049a3 failed in 0 seconds
...@@ -312,7 +312,7 @@ defineExpose({ ...@@ -312,7 +312,7 @@ defineExpose({
:min="getValidationRules(item).min || 0" :placeholder="item.placeholder" :min="getValidationRules(item).min || 0" :placeholder="item.placeholder"
:required="item.required === 1" step="0.01" type="number" :required="item.required === 1" step="0.01" type="number"
@input="(e) => { item.value = parseFloat(item.value)?.toFixed(getValidationRules(item).decimalDigits || 2) || '' }" @input="(e) => { item.value = parseFloat(item.value)?.toFixed(getValidationRules(item).decimalDigits || 2) || '' }"
input-align="right" label-width="120px" /> input-align="right" label-width="120px" />
</div> </div>
<!-- 单选框 --> <!-- 单选框 -->
......
...@@ -54,7 +54,7 @@ function handleBut() { ...@@ -54,7 +54,7 @@ function handleBut() {
<van-field v-model="pickerValue" <van-field v-model="pickerValue"
:label="item.nodeName" :label="item.nodeName"
name="radio" name="radio"
:required="item.required === 1"> :required="item.required === 1" label-width="120px">
<template #input> <template #input>
<div class="templateBox"> <div class="templateBox">
<van-radio-group v-model="pickerValue" <van-radio-group v-model="pickerValue"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!