ValidationError: Cart validation failed: totalPrice: Cast to Number failed for value “NaN” at path “totalPrice”

后端 未结 0 1870
后悔当初
后悔当初 2020-12-18 12:57

I got this problem related to mongoose, I set the schema for a shopping cart, with the and within the schema I set the properties, qty, and totalPrice to Number, when I test

相关标签:
回答
  • 消灭零回复
提交回复
热议问题