Commit 3a7049a3 by yancanhua

feat: 自测问题修改

1 parent 0bf11568
Pipeline #138 for 3a7049a3 failed in 0 seconds
......@@ -312,7 +312,7 @@ defineExpose({
:min="getValidationRules(item).min || 0" :placeholder="item.placeholder"
:required="item.required === 1" step="0.01" type="number"
@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>
<!-- 单选框 -->
......
......@@ -54,7 +54,7 @@ function handleBut() {
<van-field v-model="pickerValue"
:label="item.nodeName"
name="radio"
:required="item.required === 1">
:required="item.required === 1" label-width="120px">
<template #input>
<div class="templateBox">
<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!