摘要: js格式化后输出的值 Mon Nov 30 2020 11:00:00 GMT+0800 (中国标准时间) 但是传值给对象后的日期和原值对不上 serviceStartTime: "2020-11-30T3:00:00Z" 解决办法使用moment moment(this.riqi2).utc(8) 阅读全文
posted @ 2021-12-02 08:25 wanjunshijie 阅读(77) 评论(0) 推荐(0)
摘要: 先全局安装 npm i webpack webpack-cli -g npm i webpack webpack-cli -D 打包命令 开发模式 和 生成模式 webpack ./src/index.js -o ./build/built.js --mode=development webpack 阅读全文
posted @ 2021-12-02 08:22 wanjunshijie 阅读(57) 评论(0) 推荐(0)
摘要: // 允许从相机和相册扫码 uni.scanCode({ success: function (res) { console.log('条码类型:' + res.scanType); console.log('条码内容:' + res.result); } }); // 只允许通过相机扫码 uni. 阅读全文
posted @ 2021-12-02 08:19 wanjunshijie 阅读(1314) 评论(0) 推荐(0)