摘要:
1. Variety.js https://www.cnblogs.com/wzy23/p/13385134.html 2. https://blog.csdn.net/qq_22956867/article/details/102917841 https://www.cnblogs.com/chr
阅读全文
posted @ 2021-09-25 16:26
XiaoNiuFeiTian
阅读(3328)
推荐(0)
摘要:
每个输入框的输入类型还是不确定的 Vue-表单: https://www.runoob.com/vue2/vue-forms.html https://blog.csdn.net/weixin_43989275/article/details/89382582 Vue动态生成表单:根据数据库表格Sc
阅读全文
posted @ 2021-09-24 16:21
XiaoNiuFeiTian
阅读(1390)
推荐(0)
摘要:
后台虽然返回的是json串,但是不是json对象,因此需要在后台加上header('Content-type: application/json'); https://blog.csdn.net/qq_44537414/article/details/100592885
阅读全文
posted @ 2021-09-24 14:42
XiaoNiuFeiTian
阅读(367)
推荐(0)
摘要:
直接使用axios时报错:[Vue warn]: Error in created hook: "TypeError: Cannot read properties of undefined (reading 'post')" https://blog.csdn.net/m0_56849931/ar
阅读全文
posted @ 2021-09-24 09:10
XiaoNiuFeiTian
阅读(382)
推荐(0)
摘要:
不能使用form-data,而是选择x-www-form-urlencoded 参考:https://blog.csdn.net/u010572493/article/details/81943485 https://www.bilibili.com/read/cv4343058/
阅读全文
posted @ 2021-09-23 17:25
XiaoNiuFeiTian
阅读(692)
推荐(0)
摘要:
当进行新用户注册时,使用bcrypt进行加密,然后将结果保存到数据库中 当验证时,则需要进行compare校对 验证密码时,bcrypt.compare()始终返回false(bcrypt.compare() always returns false when verifying passwords
阅读全文
posted @ 2021-09-23 16:51
XiaoNiuFeiTian
阅读(64)
推荐(0)
摘要:
mongoose默认会将model的名字转换为复数形式作为对应collection的名称:链接
阅读全文
posted @ 2021-09-23 16:44
XiaoNiuFeiTian
阅读(206)
推荐(1)
摘要:
Mongodb是Schema free的。。 那么如何定义约束呢?不让表太自由 mongodb 的 schema 设计方法:https://blog.csdn.net/weixin_34123613/article/details/89390489
阅读全文
posted @ 2021-09-23 16:14
XiaoNiuFeiTian
阅读(321)
推荐(0)
摘要:
Moogoose入门教程:https://blog.csdn.net/weixin_45828332/article/details/114120710 countDocuments(query)函数的使用: https://www.nuomiphp.com/eplan/2759.html 如果要全
阅读全文
posted @ 2021-09-23 15:25
XiaoNiuFeiTian
阅读(357)
推荐(0)
posted @ 2021-09-23 13:54
XiaoNiuFeiTian
阅读(109)
推荐(0)