Commit 205c6813 by chenwq

优化表单字段,添加字段类型限制为数字

1 parent e1ff5bee
...@@ -110,6 +110,7 @@ const firstObj = { ...@@ -110,6 +110,7 @@ const firstObj = {
name: "displacement", name: "displacement",
maxlength: "10", maxlength: "10",
type: "input", type: "input",
fieldType: "digit",
inputLimit: { inputLimit: {
type: "digit", type: "digit",
}, },
......
...@@ -50,6 +50,7 @@ const secondObj = { ...@@ -50,6 +50,7 @@ const secondObj = {
label: "表显里程", label: "表显里程",
name: "mileage", name: "mileage",
type: "input", type: "input",
fieldType: "digit",
maxlength: "8", maxlength: "8",
inputLimit: { inputLimit: {
type: "digit", type: "digit",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!