showToast:fail parameter error: parameter.title should be String instead of Null;

在搞微信小程序是遇到的这个问题
编辑器用的是hbuiderx
模拟器用的是微信开发者工具
做的是模拟一个商场首页商品展示
“封装了后台请求,并且每次请求都打印code”
涉及一个get请求
showToast:fail parameter error: parameter.title should be String instead of Null;
错误截图,报错为showToast:fail parameter error: parameter.title should be String instead of Null;
网上查阅找到的是此错误为showtoast的title。
但是,查看相关showtoast的title并不是空的,图片如下
showToast:fail parameter error: parameter.title should be String instead of Null;
联系到500错误,应该是请求失败,网上搜索微信小程序500错误说是参数传递有错误。
随后查看传递的参数,发现原来错误是因为拼写错误导致传递的参数为空
showToast:fail parameter error: parameter.title should be String instead of Null;为查找这个错误,浏览了很多网站,总结一句,就是微信小程序的确坑多,有个坑就是报错提醒不明显,万一一不小心打错字了,找个Bug找半天。
还有一句就是,我是真的菜。