- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 nodejs操作mysql编写数据的分页接口
nodejs实现分页接口分页接口代码 内联代码片。// 模拟导出一个男鞋接口//req.query是一个get接口传参exports.manshoes = (req, res) => { const sql = `select * from manshoes` db.query(sql, (err, results) => { // 1. 执行 SQL 语句失败返回一个错误信息 if (err) return res.send(err)
2022-04-08 11:12:23 2329
原创 vue项目安装vuex报错:Object(...) is not a function
1.当vue项目安装vuex时报错:Object(…) is not a function"导出vuex的store文件在main.js中出现:Object(…) is not a function原因是vue与vuex的版本不一样vue2对应vuex3,vue3对应vue4,解决方法卸载vuex,再重新装上指定版本...
2022-03-10 15:20:40 852
十字路口交通灯.zip
2020-08-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人