meko's recent timeline updates
meko

meko

V2EX member #237808, joined on 2017-06-29 15:07:56 +08:00
meko's recent replies
加油
分母+1
Oct 23, 2019
Replied to a topic by a154312237 推广 搞点节日气氛,送大家点福利
分母报到!
IG 牛逼!
Oct 30, 2018
Replied to a topic by xuyl Node.js mongoose 查询问题求教
@meko
要再包一层 Promise.all
tree = await Promise.all(tree.map(async item=>{
```````````````````
}))
Oct 30, 2018
Replied to a topic by xuyl Node.js mongoose 查询问题求教
```bash
async function getTree(query, loop=true) {
const tree = await Category.find(query);
if ( loop === false )
return tree;

tree = tree.map( async (item) => {
//转成 object
item = item.toObject();

let children = await Category.find({ status: true, pid: mongoose.Types.ObjectId(item._id) });
item.children = children;
console.dir(item);

return item;
} );
return tree;
} );
```
等一个万一!
产品:用户注册的时候,所有用户的密码不能有重复的。
我:为什么?
产品:说明密码太简单。
Sep 15, 2018
Replied to a topic by macleek 推广 月饼中奖名单更新帖
哇,第一次中奖,兴奋!谢谢楼主!
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1453 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 16:56 · PVG 00:56 · LAX 09:56 · JFK 12:56
♥ Do have faith in what you're doing.