2021年12月31日

vue 使用$http 请求接口 路径多了1个文件

摘要: 需要请求/testwx/RoomType/add 路径一直报错/roomType//testwx/RoomType/add 之前是这样的写法 this.$http.post('testwx/RoomType/add', this.roomInfo).then(response => { if (re 阅读全文

posted @ 2021-12-31 17:11 左侧岚 阅读(309) 评论(0) 推荐(0) 编辑

vue 文件目录结构详解

摘要: 基于 vue.js 的前端开发环境,用于前后端分离后的单页应用开发,可以在开发时使用 ES Next、scss 等最新语言特性。项目包含: 基础库: vue.js、vue-router、vuex、whatwg-fetch 编译/打包工具:webpack、babel、node-sass 单元测试工具: 阅读全文

posted @ 2021-12-31 16:40 左侧岚 阅读(310) 评论(0) 推荐(0) 编辑

nodejs Cannot set headers after they are sent to the client

摘要: 1个接口不能同时操作2个表 下面这样写会报错 这儿只执行 添加成功 2 阅读全文

posted @ 2021-12-31 10:31 左侧岚 阅读(133) 评论(0) 推荐(0) 编辑

mongodb : "mongodb://127.0.0.1:27017/hotel",

摘要: mongodb : "mongodb://127.0.0.1:27017/hotel", 换成localhost失败 阅读全文

posted @ 2021-12-31 01:35 左侧岚 阅读(22) 评论(0) 推荐(0) 编辑

导航