IP属地:广西
单项固定宽度 利用flex布局不用写宽度 div.scroll ul li .scroll{ width:300px; overflow-y: ...
vuex里面有a.js文件(采用了modules) a文件mutations里面有 2个方法 add和plus add 调用plus方法 thi...
getter(一个参数改变影响到了其他的数据的变化) 的作用我觉得是为了渲染另外一种数据,根据你的state里面的值,state更改响应的get...
要写在main.js 中new Vue({}) 之前,否则初始化没效果
-webkit-touch-callout: none;
commit=>mutations,用来触发同步操作的方法。 dispatch =>actions,用来触发异步操作的方法。
1、在assets中建立js文件,新建rem.js文件,将计算rem方法写入rem.js文件当中 如750设计稿 rem.js文件为 (func...
<!-- parent --> <template> 我是父亲, 对儿子说: {{sthGiveChild}} <Child v-model=...
import errorImgComponent from './error-img.vue' const errorImg ={ inst...