JavaScript
bufferto
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
vue使用全局websocket
工具类 socketVuex.js 配置文件参数--需要在配置文件中填写 #WebSocket地址---https为 wss VUE_APP_WEBSOCKET_URL = 'ws://192.168.31.66:28060/systemInfoSocketServer' 工具类js import Vue from 'vue' import Vuex from 'vuex' Vue.use(Vuex) export default new Vuex.Store({ state:原创 2021-11-04 14:59:39 · 10214 阅读 · 10 评论 -
js判断是否为ie浏览器
function IEVersion() { var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串 var isIE = userAgent.indexOf("compatible") > -1 && userAgent.indexOf("MSIE") > -1; //判断是否IE<...转载 2019-08-01 20:08:24 · 361 阅读 · 0 评论
分享