新增输入框输入限制

This commit is contained in:
dragon
2025-02-12 16:26:26 +08:00
parent 8fe6b24b0f
commit 5323ad7241

View File

@@ -379,6 +379,7 @@
<template v-slot="scope"> <template v-slot="scope">
<el-input <el-input
v-model="scope.row.userId" v-model="scope.row.userId"
type="number"
@blur="handleEdit(scope.$index, scope.row)" @blur="handleEdit(scope.$index, scope.row)"
></el-input> ></el-input>
</template> </template>
@@ -387,6 +388,7 @@
<template v-slot="scope"> <template v-slot="scope">
<el-input <el-input
v-model="scope.row.val" v-model="scope.row.val"
type="number"
@blur="handleEdit(scope.$index, scope.row)" @blur="handleEdit(scope.$index, scope.row)"
></el-input> ></el-input>
</template> </template>