JavaScript
FlyHDreamer
一直去模仿,从未能超越
展开
-
MongoNetworkError: failed to connect to server [localhost:27017]
MongoNetworkError: failed to connect to server [localhost:27017] on first connect [MongoNetworkError: connection 0 to localhost:27017 timed out at Socket.<anonymous> (D:\Desktop\node\mongodblearn\07_student_list\node_modules\mongodb\lib\core\conn原创 2020-07-25 15:40:33 · 3364 阅读 · 3 评论 -
小程序background-image问题和动态设置navigationBarTitleText问题
background-image这个最好别用,用的话,只能用bace64格式的图片。动态设置navigationBarTitleText// 这样就能动态设置navigationBarText了onLoad:function(options){ wx.setNavigationBarTitle({ title: title })}...原创 2020-03-20 18:38:24 · 448 阅读 · 0 评论 -
JS个人笔记
JS本地存储注意点:本地存储localStorage里面只能存储字符串格式,因此需要把对象转换为字符串。获取本地存储数据,需要把里面的字符串转换为对象格式本地存储:localStorage.setItem(‘存储到的字符串名’,‘要存储的数据对象(JSON)’).localStorage.getItem(‘获取存储的数据对象名(JSON)’).字符串和数组对象之间的相互转...原创 2020-02-16 18:00:02 · 141 阅读 · 0 评论