vue3 的项目 element-plus form表单验证,提示***is not a string

您是否是编辑时出现的类似问题,若是可试试

将赋值后拼上空字符串

formData.value.sortnum = scope.row.sortnum + ''

更多推荐