- 云开发控制台的数据库页面,在里面添加记录后切换到权限设置页面,没有“自定义规则”选项
云开发控制台的数据库页面,在里面添加记录后切换到权限设置页面,没有“自定义规则”选项,只有4个人默认选项[图片]
2020-01-02 - 文档写的太简单了
https://developers.weixin.qq.com/miniprogram/dev/reference/api/require.html const formatTime = date => { const year = date.getFullYear() const month = date.getMonth() + const day = date.getDate() const hour = date.getHours() const minute = date.getMinutes() const second = date.getSeconds() return [year, month, day].map(formatNumber).join('-') + ' ' + [hour, minute, second].map(formatNumber).join(':' const formatNumber = n => { n = n.toString() return n[] ? n : '0' + n module.exports = { formatTime: formatTime } 关于module的文档,没有说明上述用法。上述用法和文档描述的不同,我不知道什么区别
2019-12-20