• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






jack_jo

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2018年12月5日

webpack中‘vant’全局引入和按需引入【vue-cli】
摘要: 一、安装 二、引入 1.全局引入 2.按需引入 阅读全文
posted @ 2018-12-05 17:17 jack_jo 阅读(7382) 评论(0) 推荐(0)
 
webpack中‘mint-ui’全局引入和按需引入【vue-cli】
摘要: 一、安装 二、引入 1.全局引入 2.按需引入 阅读全文
posted @ 2018-12-05 17:09 jack_jo 阅读(1547) 评论(0) 推荐(0)
 

2018年9月26日

nginx中 处理post方式打开页面的报错405
摘要: server中 对405重定向 阅读全文
posted @ 2018-09-26 15:10 jack_jo 阅读(711) 评论(0) 推荐(0)
 
nginx中 vue路由去掉#后的配置问题
摘要: location =/ { rewrite index.html permanent; try_files $uri $uri/ /index.html; } 阅读全文
posted @ 2018-09-26 15:06 jack_jo 阅读(1196) 评论(0) 推荐(0)
 
webpack中 VUE使用搜狐ip库查询设备ip地址
摘要: 1、index.html中引入百度地图 2、在webpack.base.conf.js里面 配置 3、引入使用 阅读全文
posted @ 2018-09-26 15:00 jack_jo 阅读(2008) 评论(1) 推荐(0)
 
webpack中 VUE使用百度地图获取地理位置
摘要: 百度地图 1、index.html中引入 百度地图api 2、在webpack.base.conf.js里面 配置 3、引入使用,一定记住需要在mounted钩子函数里面操作API 因为地图需要在所以的dom树加载完毕后才能操作 阅读全文
posted @ 2018-09-26 14:54 jack_jo 阅读(5343) 评论(0) 推荐(0)
 
VUE动态设置网页head中的title
摘要: router.beforeEach((to, from, next) => { /* 路由发生变化修改页面meta */ if (to.meta.content) { const head = document.getElementsByTagName('head') const meta = document.createElement('meta') meta... 阅读全文
posted @ 2018-09-26 14:37 jack_jo 阅读(5247) 评论(0) 推荐(0)
 
VUE中的 AES加密和解密
摘要: import CryptoJS from 'crypto-js/crypto-js' // 默认的 KEY 与 iv 如果没有给 const KEY = CryptoJS.enc.Utf8.parse('F697467B14B076F2') const IV = CryptoJS.enc.Utf8.parse('0102030405060708') /** * AES加密 :字符串 key... 阅读全文
posted @ 2018-09-26 14:27 jack_jo 阅读(1106) 评论(0) 推荐(0)
 
VUE单页面添加百度统计
摘要: router.afterEach(() => { setTimeout(() => { var _hmt = _hmt || []; (function() { // 每次执行前,先移除上次插入的代码 document.getElementById('baidu_tj') && document.getElementById('baidu_tj').r... 阅读全文
posted @ 2018-09-26 14:16 jack_jo 阅读(237) 评论(0) 推荐(0)
 

2018年9月13日

vue项目html5调取手机摄像头录像并上传
摘要: 刷脸验证 methods: { updateFace(e) { const file = e.target.files[0] || e.dataTransfer.files[0] if (file) { // 本地预览 const reader = new FileReader() const myVideo = docu... 阅读全文
posted @ 2018-09-13 18:05 jack_jo 阅读(3600) 评论(2) 推荐(0)
 
下一页