VUE

mac2025-10-24  4

学习网站

掘金/MDN/思否/GitHub/力扣/lintCode/牛客网

用过的插件

vconsole/ Fundebug:https://www.fundebug.com/

阿里系 中台界面框架

阿里系 中台界面框架: https://pro.ant.design/ https://ice.work/ https://fusion.design/ 腾讯项目里面有一个完整的UI框架 https://github.com/Tencent/bk-cmdb 腾讯这个是 vue的 腾讯这个可以在线体验: https://cmdb.bk.tencent.com/login

keep-alive用法注意事项

v-if要放在标签里面,不能放在标签里面

vconsole调试官网:

https://github.com/Tencent/vConsole/blob/v3.3.0/doc/tutorial_CN.md

JSON在线解码:

https://www.json.cn/

Webstrom快捷键:

http://blog.csdn.net/quincylk/article/details/18256697

进度条

webSocket

状态码401.3:

没有安装http-server这个插件,后来是IIS解决这个问题了,需要新加一个权限授权给它,然后就可以访问了

前端图标库:

https://www.iconfont.cn/search/index?q=加载

编码在线转换:

url编码背景图片转化为base64

大量导入数据超时:

1:axios.defaults.timeout = 1000000 2:webpack的proxy默认设置的超时时间 proxyTable: { timeout: 1920000, //全局设置超时 ‘/admin’: { timeout: 1000000, //代理路径设置超时 changeOrigin: true, }, } 3:后端springboot没有设置超时时间; nginx或者服务器上也需要设置超时,默认90秒。 4:参考https://www.php.cn/js-tutorial-402959.html

判断设备是iOS还是安卓设备

/判断设备是iOS还是安卓设备/ let u = navigator.userAgent; let isAndroid = u.indexOf(‘Android’) > -1 || u.indexOf(‘Adr’) > -1; //android终端 let isiOS = !!u.match(/(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端 if(isAndroidtrue&&isiOSfalse){ this.deviceModel = “安卓”; }else{ this.deviceModel = “iOS”; } // alert(‘是否是Android:’+isAndroid); // alert(‘是否是iOS:’+isiOS); this.KaTeX parse error: Expected '}', got 'EOF' at end of input: …tHeight - this.refs.vouchersTitle.clientHeight - this. r e f s . v o u c h e r I n f o r m a t i o n . c l i e n t H e i g h t ) + " p x " ; / / t h i s . v o u c h e r T o p = ( t h i s . refs.voucherInformation.clientHeight) + "px"; // this.voucherTop = (this. refs.voucherInformation.clientHeight)+"px";//this.voucherTop=(this.refs.vouchersTitle.clientHeight + this.$refs.voucherInformation.clientHeight) + “px”; } })

用vue-wechat-title为微信动态设置标题

1.安装插件 cnpm install vue-wechat-title --save 2.在main.js中引入 Vue.use(require(‘vue-wechat-title’)) 3.在路由里添加name属性例: { path: ‘/home’, name: ‘首页’, menuShow: true, iconCls: ‘home_light.svg’, component: Home } 4.在App.vue文件里添加如下代码: <div v-wechat-title="$route.name"></div> <–控制微信标题的–> 其他Vue文件

v-wechat-title="$route.meta.title=transActNameTitle"

Vue设置浏览器的图标icon

https://blog.csdn.net/AK852369/article/details/100139979

http和https的区别

https://help.trustasia.com/http-vs-https/ OSI 网络模型 https://www.jianshu.com/p/f32cfd6c208b

前端怎么将一个一百多兆的文件持续的转为 一段一段的byte

https://blog.csdn.net/leafrenchleaf/article/details/84831084 https://wow.techbrood.com/ http://www.360doc.com/content/14/0214/18/1457948_352511645.shtml

最新回复(0)