![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
web前端
Wonder_BBJ
这个作者很懒,什么都没留下…
展开
-
拓展element-ui,级联选择器el-cascader的options为空插槽展示
拓展element-ui,级联选择器el-cascader的options为空插槽展示原创 2022-06-09 18:03:47 · 2048 阅读 · 0 评论 -
typescript学习笔记
数据类型(11种)boolean,number,string,array,null,undefined,void,never,tuple(元祖类型),enum(枚举),any(任意类型)//枚举,自增长,注意每个枚举成员的值都是不同的enum Direction { Up = 1, Down, //2 Left, //3 Right //4}接口 --------interface关键字interface params { name: string; //原创 2020-11-23 15:56:04 · 234 阅读 · 0 评论 -
vuex学习笔记---四大金刚state,getters,mutations,actions
state新建store.js文件,export default封装,让外部能引用//定义一个常量const state = { count:1 }//export default new Vuex.Store({ state })vue页面引用 <template> <h3>{{$store.state.count}}</h3>//1 </template>原创 2020-09-02 14:44:21 · 146 阅读 · 0 评论 -
AudioContext开发后台管理系统新订单提示音(audio不能自动播放)
audio因为audio标签不能自动播放。需要用户和浏览器又交互才能实现播放。但是需求是不能显示播放器控件,只能有声音响起。AudioContext使用AudioContext能解决该问题window.AudioContext = window.AudioContext || window.webkitAudioContext || window.mozAudioContext || window.msAudioContext;var context = new window.AudioConte原创 2020-09-22 15:56:26 · 1111 阅读 · 1 评论