03 2022 档案
摘要:1、群组选择器(',') /* 表示既h1,又h2 */ h1, h2 { color: red; } 2、后代选择器(空格) /* 表示 h1 下面的所有 span 元素,不管是否以 h1 为直接父元素 */ h1 span {} 3、子元素选择器('>') 选择直接子元素 /* 表示 h1 下面
阅读全文
摘要:1.使用vuex全局变量存取const store = new Vuex.Store ({ state: { axiosCancelArr: [] }, mutations: { PUSH_CANCEL(state, cancel) { state.axiosCancelArr.push(cance
阅读全文