uni-app form表单的@submit属性获取不到form表单中的内容

@submit获取不到form表单内容问题 需要给每个form表单里边的元素加上一个name form @submit="formSubmit">input

@submit获取不到form表单内容问题

需要给每个form表单里边的元素加上一个name

<form @submit="formSubmit"><input type="text" name="我是input" value="" /><input type="text" placeholder="我是input" name="input1"/><checkbox-group name="我是多选框"><view class="">选项:view><label><checkbox value="A" /><text>Atext>label><label><checkbox value="B" /><text>Btext>label>checkbox-group><radio-group name="性别"><view class="">性别:view><label><radio :value="a" /><text>text><radio :value="b" /><text>text>label>radio-group><button form-type="submit">Submitbutton>form>

数据如下:
在这里插入图片描述