01 2019 档案
摘要:项目需求要在别人的域名下调用自己的接口,因为浏览器的同源策略是不允许不同域名下之间的信息交换,那就意味着要跨域处理 参考博客 :https://blog.csdn.net/Ulricalin/article/details/80822262 https://segmentfault.com/a/11
阅读全文
摘要:第一次面试: 1、.ajax工作原理,以及原生的写法 原理:通过XMLHttpRequest对象向服务器发送异步请求,从
阅读全文
摘要:1、父组件传值给子组件 emit 父组件 <div id="app" > <tree-component @func="getMsgFormSon" :childmsg="fatherParams"></tree-component> //引入的子组件,fathe
阅读全文
摘要:这里用到一个JQ插件 qrcode.js 下载地址https://github.com/jeromeetienne/jquery-qrcode 先引入 <div class="content1"> <div class='imgContain'><img></div> <div class="cod
阅读全文