工作中遇到的跨域问题vue 本地起服务,端口号是 3030vue.XXX.com:3030 代理到了 127.0.0.1(localhost)vue.XXX.com:3030 访问后端地址 mall.XXX.com 报跨域问题 如下图所示携带 cookie 时,需要设置如下参数,由于安全策略的影响 1axios.defaults.withCredentials = true; //Cookie跨域 123Access-Control-Allow-Credentials: trueAcce...
hexo+github pages部署博客
一、hexo环境配置 a. 安装Node.js环境 b. 安装Git环境 c. 安装Hexo npm install -g hexo-cli d. hexo init 项目名 e. npm intsall f. hexo generator 生成静态文件 g. hexo server 启动 h. npm install hexo-deployer-git --save 安装hexo-deployer-git i. deploy type: git reposito...
markdown常见书写规范
首行缩进 第一种:半方大的空白 或 全方大的空白 或 不断行的空白格 或  第二种:markdown语法支持html语法所以可以用这个,本人倾向这种方式,看起来比较干净。1<p style="text-indent:2em">xxxx</p>