Open Cason35 opened 4 hours ago
请用一段清晰简洁的文字描述问题是什么... 多个输入框填数字然后计算其他输入框的值时,输入会变得很卡
https://github.com/user-attachments/assets/40e72e43-38cf-4f8f-9282-520bb3468877
https://github.com/user-attachments/assets/d795ab7e-2674-422b-983d-73a3237053c0
你是如何使用 amis 的? sdk
sdk
amis 版本是什么?请先在最新 beta 版本测试问题是否存在
粘贴有问题的完整 amis schema 代码:
amis schema
{ "type": "page", "body": [ { "id": "u:ff9be3b043dc", "type": "form", "title": "", "mode": "inline", "labelAlign": "top", "dsType": "api", "feat": "Insert", "body": [ { "type": "table-view", "trs": [ { "tds": [ { "rowspan": 1, "body": { "type": "tpl", "wrapperComponent": "", "tpl": "19", "id": "u:6be0602542c7" }, "id": "u:8c7da226b4e8", "colspan": 1, "editorState": "default", "width": 61.84375 }, { "body": { "type": "tpl", "wrapperComponent": "", "tpl": "材料配件质量", "id": "u:fd5e3d61d277" }, "id": "u:ba6183610fd4", "editorState": "default", "width": "8%" }, { "body": { "type": "tpl", "wrapperComponent": "", "tpl": "密封件材质与尺寸偏差(mm)", "id": "u:56471870c9f9" }, "id": "u:911cf52d7298", "editorState": "default", "width": "12%" }, { "body": { "type": "tpl", "wrapperComponent": "", "tpl": "±0.5", "id": "u:c649e29ec476" }, "id": "u:a59e256bc33c", "editorState": "default", "width": "16%" }, { "body": [ { "type": "input-number", "label": "设计值", "name": "rfmb2_0108", "keyboard": false, "id": "u:e5c4212a39e1", "step": 1, "precision": 2, "onEvent": { "change": { "weight": 0, "actions": [] } }, "value": "", "mode": "horizontal", "labelAlign": "left" }, { "type": "input-number", "label": "测量值1", "name": "rfmb2_0109", "keyboard": true, "id": "u:1ad8011b0790", "step": 1, "precision": 2, "onEvent": { "change": { "weight": 0, "actions": [] } }, "value": "", "mode": "horizontal", "labelAlign": "left" }, { "type": "input-number", "label": "测量值2", "name": "rfmb2_0110", "keyboard": true, "id": "u:f264a700137b", "step": 1, "precision": 2, "onEvent": { "change": { "weight": 0, "actions": [] } }, "value": "", "mode": "horizontal", "labelAlign": "left" }, { "type": "input-number", "label": "测量值3", "name": "rfmb2_0111", "keyboard": true, "id": "u:cb8554b9326c", "step": 1, "precision": 2, "onEvent": { "change": { "weight": 0, "actions": [] } }, "value": "", "mode": "horizontal", "labelAlign": "left" } ], "id": "u:80d26d0e217b", "editorState": "default", "width": "24%" }, { "body": [ { "type": "input-number", "label": "测量值(最大偏差的)", "name": "rfmb2_0112", "keyboard": true, "step": 1, "id": "u:07477f675b96", "precision": 2, "mode": "horizontal", "labelAlign": "left", "value": "${IFS(\n AND(OR(rfmb1_0033>=0,rfmb1_0033<=0),OR(rfmb1_0032>=0,rfmb1_0032<=0),OR(rfmb1_0031>=0,rfmb1_0031<=0),OR(rfmb1_0030>=0,rfmb1_0030<=0)),\n IFS(\n MAX(ABS(rfmb1_0033-rfsd1_f0007),ABS(rfmb1_0032-rfsd1_f0007),ABS(rfmb1_0031-rfsd1_f0007),ABS(rfmb1_0030-rfsd1_f0007))==ABS(rfmb1_0033-rfsd1_f0007),rfmb1_0033,\n MAX(ABS(rfmb1_0033-rfsd1_f0007),ABS(rfmb1_0032-rfsd1_f0007),ABS(rfmb1_0031-rfsd1_f0007),ABS(rfmb1_0030-rfsd1_f0007))==ABS(rfmb1_0032-rfsd1_f0007),rfmb1_0032,\n MAX(ABS(rfmb1_0033-rfsd1_f0007),ABS(rfmb1_0032-rfsd1_f0007),ABS(rfmb1_0031-rfsd1_f0007),ABS(rfmb1_0030-rfsd1_f0007))==ABS(rfmb1_0031-rfsd1_f0007),rfmb1_0031,\n MAX(ABS(rfmb1_0033-rfsd1_f0007),ABS(rfmb1_0032-rfsd1_f0007),ABS(rfmb1_0031-rfsd1_f0007),ABS(rfmb1_0030-rfsd1_f0007))==ABS(rfmb1_0030-rfsd1_f0007),rfmb1_0030),\n\nAND(OR(rfmb1_0032>=0,rfmb1_0032<=0),OR(rfmb1_0031>=0,rfmb1_0031<=0),OR(rfmb1_0030>=0,rfmb1_0030<=0)),\n IFS(\n MAX(ABS(rfmb1_0032-rfsd1_f0007),ABS(rfmb1_0031-rfsd1_f0007),ABS(rfmb1_0030-rfsd1_f0007))==ABS(rfmb1_0032-rfsd1_f0007),rfmb1_0032,\n MAX(ABS(rfmb1_0032-rfsd1_f0007),ABS(rfmb1_0031-rfsd1_f0007),ABS(rfmb1_0030-rfsd1_f0007))==ABS(rfmb1_0031-rfsd1_f0007),rfmb1_0031,\n MAX(ABS(rfmb1_0032-rfsd1_f0007),ABS(rfmb1_0031-rfsd1_f0007),ABS(rfmb1_0030-rfsd1_f0007))==ABS(rfmb1_0030-rfsd1_f0007),rfmb1_0030\n ),\n AND(OR(rfmb1_0031>=0,rfmb1_0031<=0),OR(rfmb1_0030>=0,rfmb1_0030<=0)),\n IF(\n MAX(ABS(rfmb1_0031-rfsd1_f0007),ABS(rfmb1_0030-rfsd1_f0007))==ABS(rfmb1_0031-rfsd1_f0007),rfmb1_0031,rfmb1_0030\n ),\n OR(rfmb1_0030>=0,rfmb1_0030<=0),rfmb1_0030\n )}" }, { "type": "input-number", "label": "最大偏差值", "name": "rfmb2_0113", "keyboard": true, "step": 1, "id": "u:9833780cda7f", "precision": 2, "mode": "horizontal", "labelAlign": "left", "value": "${IFS(AND(rfmb1_0034),rfmb1_0034-rfmb1_0030)}" } ], "id": "u:9f24869a8587", "editorState": "default", "width": "20%" }, { "body": [ { "type": "input-text", "label": "", "name": "rfmb2_0114", "id": "u:245011527de7", "mode": "normal", "labelAlign": "top", "value": "${IFS(\n AND(OR(rfmb1_0035>=0,rfmb1_0035<=0)),\n IF(AND(rfmb1_0035>=-0.5,rfmb1_0035<=3),'合格','不合格')\n)}" } ], "id": "u:9f24869a8587", "editorState": "default", "width": "15%" } ], "id": "u:398051e22944", "height": 258 } ], "id": "u:2e06c7fba321" }, { "type": "table-view", "trs": [ { "tds": [ { "rowspan": 1, "body": { "type": "tpl", "wrapperComponent": "", "tpl": "21", "id": "u:6c070c033c66" }, "id": "u:18cf29a2b296", "colspan": 1, "editorState": "default", "width": "5%" }, { "body": { "type": "tpl", "wrapperComponent": "", "tpl": "材料配件质量", "id": "u:19b0c2daa9cc" }, "id": "u:a960f51d8872", "editorState": "default", "width": 100 }, { "body": { "type": "tpl", "wrapperComponent": "", "tpl": "主要钢板、型钢尺寸偏差(mm)", "id": "u:a2ee8745e494" }, "id": "u:01ff8ced6e53", "editorState": "default", "width": "12%" }, { "body": { "type": "tpl", "wrapperComponent": "", "tpl": "型钢高度:±1.0", "id": "u:d9e15ce197d4" }, "id": "u:2d7f6a22a620", "editorState": "default", "width": "16%" }, { "body": [ { "type": "input-number", "label": "高度设计值", "name": "rfmb2_0123", "keyboard": true, "id": "u:08dd353c1504", "step": 1, "precision": 2, "onEvent": { "change": { "weight": 0, "actions": [] } }, "value": "", "mode": "horizontal", "labelAlign": "left" }, { "type": "input-number", "label": "高度测量值1", "name": "rfmb2_0124", "keyboard": true, "id": "u:14d486ce1ed2", "step": 1, "precision": 2, "onEvent": { "change": { "weight": 0, "actions": [] } }, "value": "", "mode": "horizontal", "labelAlign": "left" } ], "id": "u:ae65831b0049", "editorState": "default", "width": "24%" }, { "body": [ { "type": "input-number", "label": "高度测量值(最大偏差的)", "name": "rfmb2_0125", "keyboard": true, "step": 1, "id": "u:b8b2d5531a9b", "precision": 2, "mode": "horizontal", "labelAlign": "left", "value": "${IFS(\n AND(rfmb1_0041,rfmb1_0040,rfmb1_0039,rfmb1_0038),\n IFS(\n MAX(ABS(rfmb1_0041-rfmb1_0037),ABS(rfmb1_0040-rfmb1_0037),ABS(rfmb1_0039-rfmb1_0037),ABS(rfmb1_0038-rfmb1_0037))==ABS(rfmb1_0041-rfmb1_0037),rfmb1_0041,\n MAX(ABS(rfmb1_0041-rfmb1_0037),ABS(rfmb1_0040-rfmb1_0037),ABS(rfmb1_0039-rfmb1_0037),ABS(rfmb1_0038-rfmb1_0037))==ABS(rfmb1_0040-rfmb1_0037),rfmb1_0040,\n MAX(ABS(rfmb1_0041-rfmb1_0037),ABS(rfmb1_0040-rfmb1_0037),ABS(rfmb1_0039-rfmb1_0037),ABS(rfmb1_0038-rfmb1_0037))==ABS(rfmb1_0039-rfmb1_0037),rfmb1_0039,\n MAX(ABS(rfmb1_0041-rfmb1_0037),ABS(rfmb1_0040-rfmb1_0037),ABS(rfmb1_0039-rfmb1_0037),ABS(rfmb1_0038-rfmb1_0037))==ABS(rfmb1_0038-rfmb1_0037),rfmb1_0038),\n\n AND(rfmb1_0040,rfmb1_0039,rfmb1_0038),\n IFS(\n MAX(ABS(rfmb1_0040-rfmb1_0037),ABS(rfmb1_0039-rfmb1_0037),ABS(rfmb1_0038-rfmb1_0037))==ABS(rfmb1_0040-rfmb1_0037),rfmb1_0040,\n MAX(ABS(rfmb1_0040-rfmb1_0037),ABS(rfmb1_0039-rfmb1_0037),ABS(rfmb1_0038-rfmb1_0037))==ABS(rfmb1_0039-rfmb1_0037),rfmb1_0039,\n MAX(ABS(rfmb1_0040-rfmb1_0037),ABS(rfmb1_0039-rfmb1_0037),ABS(rfmb1_0038-rfmb1_0037))==ABS(rfmb1_0038-rfmb1_0037),rfmb1_0038\n ),\n AND(rfmb1_0039,rfmb1_0038),\n IF(\n MAX(ABS(rfmb1_0039-rfmb1_0037),ABS(rfmb1_0038-rfmb1_0037))==ABS(rfmb1_0039-rfmb1_0037),rfmb1_0039,rfmb1_0038\n ),\n AND(rfmb1_0038),rfmb1_0038\n )}" }, { "type": "input-number", "label": "高度最大偏差值", "name": "rfmb2_0126", "keyboard": true, "step": 1, "id": "u:d62bd6e0fce2", "precision": 2, "value": "${IFS(AND(rfmb1_0042),rfmb1_0042-rfmb1_0037)}", "mode": "horizontal", "labelAlign": "left" } ], "id": "u:5ead7cd8926d", "editorState": "default", "width": "20%" }, { "body": [ { "type": "input-text", "label": "", "name": "rfmb2_0127", "id": "u:a19236430ef4", "mode": "normal", "labelAlign": "top", "value": "${IFS(\n AND(OR(rfmb1_0043>=0,rfmb1_0043<=0)),\n IF(ABS(rfmb1_0043)<=2,'合格','不合格')\n)}" } ], "id": "u:5ead7cd8926d", "editorState": "default", "width": "15%" } ], "id": "u:542acb9956e8", "height": 134 } ], "id": "u:67f595bbb351" }, { "type": "table-view", "trs": [ { "tds": [ { "rowspan": 1, "body": { "type": "tpl", "wrapperComponent": "", "tpl": "24", "id": "u:8320f3eb0427" }, "id": "u:99089ad7db4e", "colspan": 1, "width": "5%" }, { "body": { "type": "tpl", "wrapperComponent": "", "tpl": "材料配件质量", "id": "u:dce7cc518230" }, "id": "u:f5587f677b32", "editorState": "default", "width": "8%" }, { "body": { "type": "tpl", "wrapperComponent": "", "tpl": "漆膜厚度(μm)", "id": "u:fa15edc4dcd6" }, "id": "u:6497529c22cc", "editorState": "default", "width": "12%", "colspan": 1, "rowspan": 1 }, { "body": { "type": "tpl", "wrapperComponent": "", "tpl": "100~200", "id": "u:cefd63d23136" }, "id": "u:00cc323e1195", "editorState": "default", "width": "16%" }, { "body": [ { "type": "input-number", "label": "测量值1", "name": "rfmb2_0141", "keyboard": true, "id": "u:92ad8bf399fa", "step": 1, "precision": 2, "mode": "horizontal", "labelAlign": "left" }, { "type": "input-number", "label": "测量值2", "name": "rfmb2_0142", "keyboard": true, "id": "u:6b1b298628ff", "step": 1, "precision": 2, "mode": "horizontal", "labelAlign": "left" }, { "type": "input-number", "label": "测量值3", "name": "rfmb2_0143", "keyboard": true, "id": "u:4459d25243e4", "step": 1, "precision": 2, "mode": "horizontal", "labelAlign": "left" } ], "id": "u:5e95669d7834", "editorState": "default", "width": "24%", "rowspan": 1, "padding": "", "colspan": 1 }, { "body": [ { "type": "input-number", "label": "平均值", "name": "rfmb2_0144", "id": "u:3154f0994010", "value": "${IFS(\nAND(OR(rfmb1_0057>=0,rfmb1_0057<=0),OR(rfmb1_0056>=0,rfmb1_0056<=0),OR(rfmb1_0055>=0,rfmb1_0055<=0)),\n AVG(rfmb1_0057,rfmb1_0056,rfmb1_0055),\n AND(OR(rfmb1_0056>=0,rfmb1_0056<=0),OR(rfmb1_0055>=0,rfmb1_0055<=0)),\n AVG(rfmb1_0056,rfmb1_0055),\n OR(rfmb1_0055>=0,rfmb1_0055<=0),\nrfmb1_0055\n )}", "mode": "horizontal", "labelAlign": "left", "keyboard": true, "step": 1, "precision": 2 } ], "id": "u:4537ccf725e7", "width": "20%" }, { "body": [ { "type": "input-text", "label": "", "name": "rfmb2_0145", "id": "u:c3baf0ed235b", "value": "${IFS(OR(rfmb1_0058>=0,rfmb1_0058<=0),IF(rfmb1_0058<=30,'合格','不合格'))}", "mode": "normal", "labelAlign": "top" } ], "id": "u:d3bb1282949d", "editorState": "default", "width": "15%", "rowspan": 1 } ], "id": "u:2aee4795074c", "height": 166, "editorState": "default" } ], "id": "u:2a21ea2b4524" }, { "type": "table-view", "trs": [ { "tds": [ { "rowspan": 1, "body": { "type": "tpl", "wrapperComponent": "", "tpl": "26", "id": "u:a7f5e952e02d" }, "id": "u:41d9129c5104", "colspan": 1, "width": "5%" }, { "body": { "type": "tpl", "wrapperComponent": "", "tpl": "外观质量", "id": "u:148450e9aef5" }, "id": "u:2350d64bf6df", "width": "8%", "editorState": "default" }, { "body": { "type": "tpl", "wrapperComponent": "", "tpl": "表面观感", "id": "u:a1b05f227613" }, "id": "u:a4de8190c778", "width": "12%", "colspan": 2, "rowspan": 1 }, { "body": { "type": "tpl", "wrapperComponent": "", "tpl": "平整光滑、无锈蚀,油漆均匀、不起泡、不剥离、无流珠", "id": "u:e49d7f446221" }, "id": "u:0c835e909f2a", "width": "16%" }, { "body": [ { "type": "radios", "label": "", "name": "rfmb2_0149", "id": "u:1a2f5e5ea16d", "options": [ { "label": "符合", "value": "符合" }, { "label": "不符合", "value": "不符合" } ], "mode": "normal" } ], "id": "u:f0192e084360", "width": "24%", "rowspan": 1, "padding": "", "colspan": 1 }, { "body": [ { "type": "input-text", "label": "", "name": "rfmb2_0150", "id": "u:6b54c9fa1123", "value": "${rfmb2_0149}", "mode": "normal", "labelAlign": "top" } ], "id": "u:95ed95ffa07b", "width": "20%" }, { "body": [ { "type": "input-text", "label": "", "name": "rfmb2_0151", "id": "u:5b5ba09be231", "value": "${IFS(AND(rfmb2_0150),IF(rfmb2_0150=='符合','合格','不合格'))}", "mode": "normal", "labelAlign": "top" } ], "id": "u:63e035459b54", "editorState": "default", "width": "15%", "rowspan": 1, "colspan": 1 } ], "id": "u:f0192e084360", "height": 53, "body": [ { "type": "radios", "label": "", "name": "radios", "options": [ { "label": "符合", "value": "A" }, { "label": "不符合", "value": "B" } ], "id": "u:6c5947992d27", "mode": "normal" } ], "width": "20%", "rowspan": 1, "padding": "", "colspan": 1 } ], "id": "u:176fcec2b73a" }, { "type": "table-view", "trs": [ { "tds": [ { "rowspan": 1, "body": { "type": "tpl", "wrapperComponent": "", "tpl": "27", "id": "u:a6616cf9d8ff" }, "id": "u:dad5a7ded7cd", "colspan": 1, "width": "5%" }, { "body": { "type": "tpl", "wrapperComponent": "", "tpl": "外观质量", "id": "u:2e236f88b234" }, "id": "u:f4c39187967f", "width": "8%", "editorState": "default" }, { "body": { "type": "tpl", "wrapperComponent": "", "tpl": "零部件表面观感", "id": "u:17547deca605" }, "id": "u:be5e6f4b4c6f", "width": "12%", "colspan": 2, "rowspan": 1 }, { "body": { "type": "tpl", "wrapperComponent": "", "tpl": "零部件齐全、无损坏、无锈蚀", "id": "u:b5d4d9c31d75" }, "id": "u:55a90735f4f1", "width": "16%" }, { "body": [ { "type": "radios", "label": "", "name": "rfmb2_0152", "id": "u:02997074f72b", "options": [ { "label": "符合", "value": "符合" }, { "label": "不符合", "value": "不符合" } ], "mode": "normal" } ], "id": "u:a27f5ce7fe94", "width": "24%", "rowspan": 1, "padding": "", "colspan": 1 }, { "body": [ { "type": "input-text", "label": "", "name": "rfmb2_0153", "id": "u:038266ea779f", "value": "${rfmb2_0152}", "mode": "normal", "labelAlign": "top" } ], "id": "u:e561cacd5ee1", "width": "20%" }, { "body": [ { "type": "input-text", "label": "", "name": "rfmb2_0154", "id": "u:a896093d77c9", "value": "${IFS(AND(rfmb2_0153),IF(rfmb2_0153=='符合','合格','不合格'))}", "mode": "normal", "labelAlign": "top" } ], "id": "u:252137b0b29f", "editorState": "default", "width": "15%", "rowspan": 1, "colspan": 1 } ], "id": "u:a27f5ce7fe94", "height": 46, "body": [ { "type": "radios", "label": "", "name": "radios", "options": [ { "label": "符合", "value": "A" }, { "label": "不符合", "value": "B" } ], "id": "u:3f0a9f468685", "mode": "normal" } ], "width": "20%", "rowspan": 1, "padding": "", "colspan": 1 } ], "id": "u:049f192a8611" }, { "type": "table-view", "trs": [ { "tds": [ { "rowspan": 1, "body": { "type": "tpl", "wrapperComponent": "", "tpl": "28", "id": "u:f4f184b58af2" }, "id": "u:7b740a129df4", "colspan": 1, "width": "5%" }, { "body": { "type": "tpl", "wrapperComponent": "", "tpl": "外观质量", "id": "u:d14da5aa16d6" }, "id": "u:a937c44174ed", "width": "8%", "editorState": "default" }, { "body": { "type": "tpl", "wrapperComponent": "", "tpl": "运动部位保护", "id": "u:c56e2536c48b" }, "id": "u:f22aa97498ba", "width": "12%", "colspan": 2, "rowspan": 1 }, { "body": { "type": "tpl", "wrapperComponent": "", "tpl": "涂油保护", "id": "u:62bb20b05341" }, "id": "u:e147141352fa", "width": "16%" }, { "body": [ { "type": "radios", "label": "", "name": "rfmb2_0155", "id": "u:5efeac1c833f", "options": [ { "label": "符合", "value": "符合" }, { "label": "不符合", "value": "不符合" } ], "mode": "normal" } ], "id": "u:a629dfc43991", "width": "24%", "rowspan": 1, "padding": "", "colspan": 1 }, { "body": [ { "type": "input-text", "label": "", "name": "rfmb2_0156", "id": "u:722a82726cb3", "value": "${rfmb2_0155}", "mode": "normal", "labelAlign": "top" } ], "id": "u:b949d14d9eac", "width": "20%" }, { "body": [ { "type": "input-text", "label": "", "name": "rfmb2_0157", "id": "u:b996c63212c6", "value": "${IFS(AND(rfmb2_0156),IF(rfmb2_0156=='符合','合格','不合格'))}", "mode": "normal", "labelAlign": "top" } ], "id": "u:7b4d742c509f", "editorState": "default", "width": "15%", "rowspan": 1, "colspan": 1 } ], "id": "u:a629dfc43991", "height": 25, "body": [ { "type": "radios", "label": "", "name": "radios", "options": [ { "label": "符合", "value": "A" }, { "label": "不符合", "value": "B" } ], "id": "u:c0247e04da40", "mode": "normal" } ], "width": "20%", "rowspan": 1, "padding": "", "colspan": 1 } ], "id": "u:ab9529650b20" }, { "type": "table-view", "trs": [ { "tds": [ { "rowspan": 1, "body": { "type": "tpl", "wrapperComponent": "", "tpl": "29", "id": "u:29c731bf75c2" }, "id": "u:31a74e33d584", "colspan": 1, "width": "5%" }, { "body": { "type": "tpl", "wrapperComponent": "", "tpl": "外观质量", "id": "u:af12bb1f4094" }, "id": "u:a5771c794a99", "width": "8%", "editorState": "default" }, { "body": { "type": "tpl", "wrapperComponent": "", "tpl": "铭牌、开关标志等标识", "id": "u:6c7124a18dfa" }, "id": "u:2391593604a7", "width": "12%", "colspan": 2, "rowspan": 1 }, { "body": { "type": "tpl", "wrapperComponent": "", "tpl": "正确、醒目、齐全", "id": "u:1a2eeec76a1c" }, "id": "u:0c6d084f3a7c", "width": "16%" }, { "body": [ { "type": "radios", "label": "", "name": "rfmb2_0158", "id": "u:8802c4d49b2a", "options": [ { "label": "符合", "value": "符合" }, { "label": "不符合", "value": "不符合" } ], "mode": "normal" } ], "id": "u:a47a50154621", "width": "24%", "rowspan": 1, "padding": "", "colspan": 1 }, { "body": [ { "type": "input-text", "label": "", "name": "rfmb2_0159", "id": "u:952fd07bc842", "value": "${rfmb2_0158}", "mode": "normal", "labelAlign": "top" } ], "id": "u:1e01bc3dcd76", "width": "20%" }, { "body": [ { "type": "input-text", "label": "", "name": "rfmb2_0160", "id": "u:e9f2a8185a0c", "value": "${IFS(AND(rfmb2_0159),IF(rfmb2_0159=='符合','合格','不合格'))}", "mode": "normal", "labelAlign": "top" } ], "id": "u:c87ef89d77f1", "editorState": "default", "width": "15%", "rowspan": 1, "colspan": 1 } ], "id": "u:a47a50154621", "height": 25, "body": [ { "type": "radios", "label": "", "name": "radios", "options": [ { "label": "符合", "value": "A" }, { "label": "不符合", "value": "B" } ], "id": "u:2726cb0d817c", "mode": "normal" } ], "width": "20%", "rowspan": 1, "padding": "", "colspan": 1 } ], "id": "u:4d9d5f82475e" }, { "type": "table-view", "trs": [ { "tds": [ { "rowspan": 1, "body": { "type": "tpl", "wrapperComponent": "", "tpl": "30", "id": "u:1a4f2b0bfb31" }, "id": "u:3cecb0d14dc3", "colspan": 1, "width": "5%" }, { "body": { "type": "tpl", "wrapperComponent": "", "tpl": "其他", "id": "u:18c82205daf0" }, "id": "u:34012ff149e8", "width": "8%", "editorState": "default" }, { "body": { "type": "tpl", "wrapperComponent": "", "tpl": "是否按图加工", "id": "u:148956829bd8" }, "id": "u:a228e60f6292", "width": "12%", "colspan": 2, "rowspan": 1 }, { "body": { "type": "tpl", "wrapperComponent": "", "tpl": "按图加工", "id": "u:cb8f6975dca8" }, "id": "u:e069962f9363", "width": "16%" }, { "body": [ { "type": "radios", "label": "", "name": "rfmb2_0161", "id": "u:02edf452ce23", "options": [ { "label": "符合", "value": "符合" }, { "label": "不符合", "value": "不符合" } ], "mode": "normal" } ], "id": "u:124f1db5a4d0", "width": "24%", "rowspan": 1, "padding": "", "colspan": 1 }, { "body": [ { "type": "input-text", "label": "", "name": "rfmb2_0162", "id": "u:5fb68f0dbab4", "value": "${rfmb2_0161}", "mode": "normal", "labelAlign": "top" } ], "id": "u:2df1cbd133ab", "width": "20%" }, { "body": [ { "type": "input-text", "label": "", "name": "rfmb2_0163", "id": "u:b6d3390ff2cf", "value": "${IFS(AND(rfmb2_0162),IF(rfmb2_0162=='符合','合格','不合格'))}", "mode": "normal", "labelAlign": "top" } ], "id": "u:f0be4903261b", "editorState": "default", "width": "15%", "rowspan": 1, "colspan": 1 } ], "id": "u:124f1db5a4d0", "height": 53, "body": [ { "type": "radios", "label": "", "name": "radios", "options": [ { "label": "符合", "value": "A" }, { "label": "不符合", "value": "B" } ], "id": "u:e149c865ec7d", "mode": "normal" } ], "width": "20%", "rowspan": 1, "padding": "", "colspan": 1 } ], "id": "u:bc3fb2be305a" }, { "type": "table-view", "trs": [ { "tds": [ { "rowspan": 1, "body": { "type": "tpl", "wrapperComponent": "", "tpl": "31", "id": "u:515b3f752af9" }, "id": "u:05fb7717d347", "colspan": 1, "width": "5%" }, { "body": { "type": "tpl", "wrapperComponent": "", "tpl": "其他", "id": "u:4ca727e30827" }, "id": "u:b8177690cbd2", "width": "8%", "editorState": "default" }, { "body": { "type": "tpl", "wrapperComponent": "", "tpl": "图纸中有指标要求的其他项目", "id": "u:ea90060487f0" }, "id": "u:9eb1261bd486", "width": "12%", "colspan": 2, "rowspan": 1 }, { "body": { "type": "tpl", "wrapperComponent": "", "tpl": "图纸要求", "id": "u:b1b34503a5ee" }, "id": "u:33f763e262c1", "width": 198 }, { "body": [ { "type": "radios", "label": "", "name": "rfmb2_0164", "id": "u:c65b55672468", "options": [ { "label": "符合", "value": "符合" }, { "label": "不符合", "value": "不符合" } ], "mode": "normal" } ], "id": "u:abcf95175197", "width": "24%", "rowspan": 1, "padding": "", "colspan": 1 }, { "body": [ { "type": "input-text", "label": "", "name": "rfmb2_0165", "id": "u:026ec7c7b450", "value": "${rfmb2_0164}", "mode": "normal", "labelAlign": "top" } ], "id": "u:fe4acfd9efd5", "width": "20%" }, { "body": [ { "type": "input-text", "label": "", "name": "rfmb2_0166", "id": "u:a4d009e6831f", "value": "${IFS(AND(rfmb2_0165),IF(rfmb2_0165=='符合','合格','不合格'))}", "mode": "normal", "labelAlign": "top" } ], "id": "u:bfcde628e4ab", "editorState": "default", "width": "15%", "rowspan": 1, "colspan": 1 } ], "id": "u:abcf95175197", "height": 25, "body": [ { "type": "radios", "label": "", "name": "radios", "options": [ { "label": "符合", "value": "A" }, { "label": "不符合", "value": "B" } ], "id": "u:a0f12e74a5ee", "mode": "normal" } ], "width": "20%", "rowspan": 1, "padding": "", "colspan": 1 } ], "id": "u:a22cfde35cce" } ], "actions": [ { "type": "button", "label": "提交", "onEvent": { "click": { "actions": [ { "actionType": "submit", "componentId": "u:ff9be3b043dc", "ignoreError": false, "outputVar": "submitResult" } ] } }, "level": "primary", "id": "u:0a33bd1e3db7" } ], "resetAfterSubmit": true, "api": { "url": "${baseUrl}/project/record/upload", "method": "post", "requestAdaptor": "api.data = {}\r\napi.data.data = JSON.stringify(context);\r\napi.data.id = context.id;\r\n\r\nreturn api;", "adaptor": "", "messages": {}, "headers": { "token": "${token}" } } } ], "regions": [ "body" ], "id": "u:a04d03af7fa5", "pullRefresh": { "disabled": true }, "title": "", "onEvent": { "init": { "weight": 0, "actions": [ { "ignoreError": false, "actionType": "custom", "script": "window.formData = {};" } ] } }, "wrapperCustomStyle": { ".cxd-Panel-btnToolbar": { "text-align": "center" }, "root": { "--Form-item-gap": "5px" } }, "data": { "params": "[440,441]" } }
操作步骤 输入很卡
👍 Thanks for this! 🏷 I have applied any labels matching special text in your issue.
Please review the labels and make any necessary changes.
描述问题:
请用一段清晰简洁的文字描述问题是什么... 多个输入框填数字然后计算其他输入框的值时,输入会变得很卡
截图或视频:
https://github.com/user-attachments/assets/40e72e43-38cf-4f8f-9282-520bb3468877
https://github.com/user-attachments/assets/d795ab7e-2674-422b-983d-73a3237053c0
如何复现(请务必完整填写下面内容):
你是如何使用 amis 的?
sdk
amis 版本是什么?请先在最新 beta 版本测试问题是否存在
粘贴有问题的完整
amis schema
代码:操作步骤 输入很卡