[Vue warn]: Invalid prop: type check failed for prop "modelValue". Expected Numb 张满月 2024-06-13 547 阅读1分钟 [Vue warn]:无效道具:道具“modelValue”的类型检查失败。应为值为2的Number,而得到值为“2”的String。 使用el-input-number绑定的值应该是数值,接收到的值是字符串 在接收后端数据时将字符串转成数值即可 this.shopSet.moremultiple = parseInt(res.data.moremultiple)