上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页
摘要: 1.)监听变量普通 2.)深度监听 3.) 深度监听vux 4.) 深度监听vux方法二 5.) 深度监听路由 阅读全文
posted @ 2019-03-27 14:02 大耳朵小虎 阅读(493) 评论(0) 推荐(0) 编辑
摘要: 经典MVC:backbone.js > 只有骨架,没有双向绑定什么的 SeaJS 是一个适用于 Web 浏览器端的模块加载器 阅读全文
posted @ 2019-03-14 18:12 大耳朵小虎 阅读(119) 评论(0) 推荐(0) 编辑
摘要: https://mgbq.github.io/vue-permission/#/pdfTest/pdf 阅读全文
posted @ 2019-03-11 10:29 大耳朵小虎 阅读(250) 评论(0) 推荐(0) 编辑
摘要: webrtc网上封装的很多,demo很多都是一个页面里实现的,今天实现了个完整的 , A 发视频给 B。 1.) A 方 2.) B demo用 postMessage传递数据, 业务使用可以用websocketA 先 createOffer ,生成的offer 供自己setLocalDescrip 阅读全文
posted @ 2019-03-08 13:23 大耳朵小虎 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 安装 使用 接口 https://segmentfault.com/a/1190000010090233 阅读全文
posted @ 2019-02-14 16:05 大耳朵小虎 阅读(2327) 评论(0) 推荐(0) 编辑
摘要: 1. 正常运行 npm run eject 2. create-react-app 的版本在低于 2.0 的时候可以在 package.json 增加 proxy 配置, 配置成如下: 3. create-react-app 的版本高于 2.0 版本的时候在 package.json 只能配置 st 阅读全文
posted @ 2019-02-14 13:57 大耳朵小虎 阅读(682) 评论(0) 推荐(0) 编辑
摘要: 一. 敏感数据加密1.安装并引入中间件 npm install utility const utils = require('utility')2.加密方法 function md5Pwd(pwd) { const salt = 'sensetime_is_good_5589x321yza67.!@ 阅读全文
posted @ 2019-02-13 10:18 大耳朵小虎 阅读(688) 评论(0) 推荐(0) 编辑
摘要: (1) proxy 前端的端口在:localhost:3000后端的端口在:localhost:1234所以要在webpack中配置proxy选项 (proxy是代理的意思) (2) axios 配置好proxy后,就可以用axios跨域了 在组件中 import React,{Component} 阅读全文
posted @ 2019-01-30 14:46 大耳朵小虎 阅读(191) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/xiaoba_598/article/details/83141894 其中要在 config>plugin.js中添加以下代码 const mongoose = require('mongoose'); exports.mongoose = { enab 阅读全文
posted @ 2019-01-18 15:28 大耳朵小虎 阅读(140) 评论(0) 推荐(0) 编辑
摘要: . gitignore 向此文件里添加文件路径就行了。如( web/core/ ) 此时git status将看不到添加的文件或文件夹了 阅读全文
posted @ 2019-01-17 19:45 大耳朵小虎 阅读(562) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页