以前的笔记。
使用: var date = util.formatDate(new Date()); 自定义的util方法需要在module.exports = { }方法中 暴露给其他类使用
header: { ‘content-type’: ‘application/x-www-form-urlencoded’ },
appid出现问题,检查前后台是否一致,或者重新创建一下项目 以及检查一下后台的APPID和AppSecre的参数配置
小程序没有授权
confirm-type 有效值:
::-webkit-scrollbar {
width: 0;
height: 0;
color: transparent;
}
::-webkit-scrollbar {
display: none;
}
css:
text-decoration:line-through;
去掉拼接字符串,直接打印结果
后续整理再加。
小程序开发专栏:https://blog.csdn.net/yechaoa/article/category/6503925/1