毕设笔记

1.JSON.parse将字符串转为对象,注意:不能直接在parse里提取对象!!先转为对象再提取
错误例子:let userPassword=JSON.parse(uPasswordString[0].name)
正确做法:let userPassword=JSON.parse(uPasswordString); let upass=userPassword[0].pass

2.vue修改element ui组件样式
参考:https://www.cnblogs.com/inkwind/p/11316313.html

3.模糊搜索的实现
参考:http://www.cxyzjd.com/article/qq_30834535/84874396

4.vue前端展示时保留换行符
参考:https://www.cnblogs.com/hspl/p/13259769.html

white-space: pre-line;

5.上传图片到七牛云
参考:https://segmentfault.com/a/1190000039813335

6.数据库报错“Out of sort memory, consider increasing server sort buffer size”
参考:https://blog.csdn.net/qq_38055667/article/details/107783355

原文地址:https://www.cnblogs.com/cyj0107/p/14612195.html