摘要:
js文件中进行计算var timestamp = Date.parse(new Date()); timestamp = timestamp / 1000; console.log(timestamp); 阅读全文
摘要:
这里以域名为例子: 这样使用的目的是用于上线后系统维护 1:微信小程序新建目录config,新建config.js文件 const config={ // 域名 baseUrl:'http://local.tp5.com/', } //导出: export {config} 2:文件进行引用 //引 阅读全文