Could not read document: Unrecognized token '***': was expecting ('true', 'false' or 'null')異常解決辦法

今天在用ajax方法向後臺提交數據時,出現如下異常: 異常描述:  Could not read document: Unrecognized token 'parentId': was expecting ('true', 'false' or 'null') 異常報錯截圖: 原因描述:這種情況一般是由於發送ajax請求時,data選項傳入的數據參數類型錯誤,當傳入js對象類型時會出現如上錯誤,
相關文章
相關標籤/搜索