4.4
- createNamespacedHelpers和namespaced使用(创建基于命名空间的组件绑定辅助函数。其返回一个包含 mapState、mapGetters、mapActions 和 mapMutations 的对象。它们都已经绑定在了给定的命名空间上。)
- lodash中defaultsDeep的使用
- jQuery(expression, [context] ) 返回值:jQuery
- rem与em的区别:rem(font size of the root element)是指相对于根元素的字体大小的单位。简单的说它就是一个相对单位。看到rem大家一定会想起em单位,em(font size of the element)是指相对于父元素的字体大小的单位。它们之间其实很相似,只不过一个计算的规则是依赖根元素一个是依赖父元素计算。
- js获取到的时间减1秒或加1秒 blog.csdn.net/TTO_OTT/art…
- vue 父组件监听子组件的数据变化 父组件监听子组件的data blog.csdn.net/qq_41287158…
mounted() {
this.$nextTick(() => {
const useData = this.$refs.selectOptionsCustom.valueClone;
this.$watch(() => {
return useData;
}, (val) => {
console.log(val);
this.checkedDevice = val.datas;
}, {deep: true});
});
},
- CSS多行省略的几种方法 blog.csdn.net/bidepanm/ar…
- 有关keep-alive缓存路由的各种用法