一、VUE
-
点击列表中的哪一项,哪一项就变颜色;
https://www.jianshu.com/p/759041af5d12 -
简单答题卡,问卷调查逻辑(单选,多选,简答);
https://www.freesion.com/article/81281181213/. -
JS字符串操作(添加删除,以逗号分隔)
https://blog.csdn.net/shaonaozu/article/details/12704951 -
弹出框时,禁止页面滚动
https://www.pianshen.com/article/1060314690/ -
使用vue,两个按钮只能选择一个,且点击同一个按钮,把选择状态去除
https://blog.csdn.net/llovege/article/details/86647493 -
e.currentTarget.parentElement 获得点击元素的父级元素
-
Vue实现查找任意层级子元素和祖先元素
https://www.jianshu.com/p/981f1ccf83bd -
视频:腾讯云 云点播
接入指引
https://cloud.tencent.com/document/product/266/58772
demo
https://tcplayer-1306264703.cos.ap-nanjing.myqcloud.com/build/index.html -
el-icon图标显示不出来
原因:https://www.jianshu.com/p/706e180c67ad
解决:icon-font图标库、使用低版本文档 -
返回功能:如果新开了一个窗口只需要将窗口关闭即可window.close();
https://forum.vuejs.org/t/vue/47517
若不是新开的窗口就使用this.r
o
u
t
e
r
.
g
o
(
−
1
)
;
或监听路由
router.go(-1); 或监听路由
router.go(−1);或监听路由route(to,from){}
https://router.vuejs.org/zh/guide/essentials/navigation.html -
VIDEOJS: WARN: Player “myVideo“ is already initialised. Options will not be applied.
解决1: https://www.jianshu.com/p/0d35be91378c
解决2:http://www.qiutianaimeili.com/html/page/2020/05/202051508ssa2907xyp.html -
禁用进度条
https://blog.csdn.net/u013935095/article/details/111372984?utm_medium=distribute.pc_relevant.none-task-blog-2defaultbaidujs_baidulandingword~default-4.highlightwordscore&spm=1001.2101.3001.4242.3
https://blog.csdn.net/weixin_46276411/article/details/116525508 -
图片文件上传下载
https://www.cnblogs.com/wangzhichao/p/14745579.html -
文字溢出:flex布局导致文字溢出隐藏没有效果
https://www.cnblogs.com/wjlbk/p/12884659.html -
数组合并
this.xxx = […this.xxx,…this.xxx] -
warning delete ·· (prettier/prettier)
https://my.oschina.net/fxtxz2/blog/3014426 -
vue的watch:{}属性用法handler(v){},immediate,deep
https://blog.csdn.net/qq_51657072/article/details/119389420 -
数据库:2013-Lost connection to MySQL serve at ‘reading initial communication packet,连接数量较多
二、计时器
- 定义计时器 var timer = window.setInterval(“fs()”,1000);/
取消计时器 clearInterval(timer)
备注:注意变量timer的全局性,如果在某个函数中调用setInterval,在另外的函数中调用clearInterval,那么timer 应该声明为全局变量
三、VOIDE
https://tcplayer-1306264703.cos.ap-nanjing.myqcloud.com/build/index.html
四、vant组件
五、vuex
- 如何从vuex中获取数据:
https://www.cnblogs.com/lisir-blogshare/p/15239213.html
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
文章由极客之音整理,本文链接:https://www.bmabk.com/index.php/post/195016.html