Fork me on GitHub
摘要: const mock = require('mockjs'); // 引入mockjs const data = mock.mock({ "data|20": [{ "id": "@id", "name": "@cname", "phone": /^1[3578]\d{9}/, "ip": "@ip 阅读全文
posted @ 2022-05-15 18:04 都一样* 阅读(132) 评论(0) 推荐(0) 编辑
摘要: yarn和npm一样,默认安装的全局包和缓存都在C盘里:npm的在:C:\Users\Administrator\AppData\Roaming\npmyarn的在:C:\Users\Admin\AppData\Local\Yarn 打开cmd窗口,输入: yarn config set globa 阅读全文
posted @ 2022-05-15 16:40 都一样* 阅读(1671) 评论(0) 推荐(0) 编辑