---修复input-number组件无法输入0的问题

This commit is contained in:
2026-03-02 18:16:58 +08:00
parent a25d62807a
commit 55ec9f537b
3 changed files with 7 additions and 10 deletions

View File

@ -1,6 +1,6 @@
<template>
<PageWrapper dense fixedHeight contentFullHeight contentClass="flex">
<!-- <BasicTable @register="registerTable" ref="tableRef" @row-dbClick="dbClickRow">
<BasicTable @register="registerTable" ref="tableRef" @row-dbClick="dbClickRow">
<template #toolbar>
<template v-for="button in tableButtonConfig" :key="button.code">
<a-button v-if="button.isDefault" :type="button.type" @click="buttonClick(button.code)">
@ -18,12 +18,9 @@
<TableAction :actions="getActions(record)" />
</template>
</template>
</BasicTable> -->
<!-- <Testflow003Modal @register="registerModal" @success="handleSuccess" />
<DataLog :logId="logId" :logPath="logPath" v-model:visible="modalVisible"/> -->
<div style="width: 100%;height: 100%;position: relative;">
<input-number v-model:value="numberValue" />
</div>
</BasicTable>
<Testflow003Modal @register="registerModal" @success="handleSuccess" />
<DataLog :logId="logId" :logPath="logPath" v-model:visible="modalVisible"/>
</PageWrapper>
</template>
<script lang="ts" setup>