03 2020 档案
摘要:项目场景: 菜单,根据点击的目标,自动调整展示位置 图示:(计算left、top偏移差) 算法: /* * * 相对偏移值 * @param target: 计算的目标对象 * @param reference: 计算的参照物 * */ reposition(target, reference) {
阅读全文
摘要:参考配置: (场景:为了解决chrome80+ Same-site-default-value,跨站无法传递cookie问题) user nginx; worker_processes 1; error_log /var/log/nginx/error.log info; pid /var/run/
阅读全文