摘要:
scanQrcode:function (callBack) { let data = { appId: JSON.parse(sessionStorage.getItem('appIdSecret')).appId, url: window.location.href.split('#')[0] 阅读全文
摘要:
调用:this.onBridgeReady(JSON.parse(res.data.data)); 阅读全文
摘要:
applyText.vue <template> <div v-html='apply'> {{apply}} </div></template><script>export default { name: 'applyText', data() { return { apply: '' } }, 阅读全文
摘要:
组件: 阅读全文
摘要:
import CryptoJS from 'crypto-js'export function Encrypt(word) { let key = 'adsyto1234567890'; let iv = '123456789channel'; key = CryptoJS.enc.Utf8.par 阅读全文
摘要:
router.beforeEach((to, from, next) => { if (localStorage.getItem("userRole") !== 'operator') { if (router.options.routes.length < 14) { let auditRoute 阅读全文
摘要:
<script src="//cdn.jsdelivr.net/npm/eruda"></script> <script> eruda.init(); </script> 阅读全文
摘要:
1、ajax技术的背景 不可否认,ajax技术的流行得益于google的大力推广,正是由于google earth、google suggest以及gmail等对ajax技术的广泛应用,催生了ajax的流行。而这也让微软感到无比的尴尬,因为早在97年,微软便已经发明了ajax中的关键技术,并且在99 阅读全文
摘要:
1.减少Http请求数量 2.使用CDN(内容分发网络) 放置副本服务器 3.添加Expire/Cache-Control头 expire头的内容是一个时间值,值就是资源在本地的过期时间,存在本地,在本地缓存阶段,找到一个对应的资源值,当前时间还没超过资源的过期时间,就直接使用这一个资源,不会发送H 阅读全文