![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
node
洛诚
这个作者很懒,什么都没留下…
展开
-
node中mongoose存储数组类型数据+postman传递 数组 参数
node中mongoose存储数组类型数据建立模型数组数据格式:swiperData : [{imgUrl: String}](这种格式写,MongoDB中数组里的每一个对象都会自动生成_id)例子:或swiperData : [](这种格式写,MongoDB中数组里的每一个对象都只保存传过来的数组中的每一个对象,即一致性)例子:// 楼盘信息表...原创 2019-04-11 10:24:21 · 2534 阅读 · 0 评论 -
困扰了一夜 的node+vue单图上传到七牛云,笔记一下...
vue页面代码<template> <div id="MyAdd"> <input type="file" name="image" accept="image/*" @change="uploadImg($event)"> <img :src="list" width="100px" height="100px"> ...原创 2019-04-26 10:18:13 · 246 阅读 · 0 评论