摘要: 设置代理 go env -w GO111MODULE=on go env -w GOPROXY=https://mirrors.aliyun.com/goproxy/,direct 取消代理 go env -u GOPROXY 阅读全文
posted @ 2022-06-06 15:29 bestjin 阅读(37) 评论(0) 推荐(0)
摘要: 原来的函数写法:对于新版的ie11已经不支持了 function isIE(){ if (window.navigator.userAgent.indexOf("MSIE")>=1) return true; else return false; } 下面是支持ie11的版本的,当然ie6-8也是支 阅读全文
posted @ 2022-06-02 11:14 bestjin 阅读(267) 评论(0) 推荐(0)
摘要: 代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content= 阅读全文
posted @ 2022-06-02 10:35 bestjin 阅读(563) 评论(0) 推荐(0)
摘要: **1.安装安装postcss-px-to-viewport-8-plugin yarn add -D postcss-px-to-viewport-8-plugin **2.在项目下创建postcss.config.js module.exports = { plugins: { 'postcss 阅读全文
posted @ 2022-05-26 20:07 bestjin 阅读(2785) 评论(0) 推荐(2)