10 2018 档案

摘要:$ git clone https://github.com/monster1935/vue-admin.gitCloning into 'vue-admin'...fatal: unable to access 'https://github.com/monster1935/vue-admin.g 阅读全文
posted @ 2018-10-29 21:12 不服憋着 阅读(1177) 评论(0) 推荐(0)
摘要:qs传参方便写法 相当于在接口后边进行参数的拼接 阅读全文
posted @ 2018-10-21 14:13 不服憋着 阅读(274) 评论(0) 推荐(0)
摘要:完整代码 <template> <div style="height:1000px;"> <el-table :data="datalist" style="width: 100%"> <el-table-column label="年龄" width="180"> <template slot-s 阅读全文
posted @ 2018-10-21 14:11 不服憋着 阅读(143) 评论(0) 推荐(0)
摘要:this.$set(this.editing, row.id, Object.assign({},row)) this.$set(row, name,'chen') this.$set(row, name,'chen') 阅读全文
posted @ 2018-10-21 13:40 不服憋着 阅读(282) 评论(0) 推荐(0)
摘要:tableData:[],//过滤后的数据 datalist:[//过滤前的数据 {name:'chen',age:'18',address:'1',id:'1',delete:false, edit:false,child:[{name:'chen1',delete:false,address:' 阅读全文
posted @ 2018-10-21 13:37 不服憋着 阅读(418) 评论(0) 推荐(0)
摘要:<template> <div class="echarts"> <el-table :data="dataList" style="width: 100%"> <el-table-column prop="date" label="日期" width="180"> </el-table-colum 阅读全文
posted @ 2018-10-14 17:09 不服憋着 阅读(233) 评论(0) 推荐(0)
摘要:const list = listArr.filter ( item => item.check) //过滤 listArr中check属性不为空的数据 循环 获取所有数据的Id以及子节点的数据Id let list = [] const rowmapId = (item) => { if (ite 阅读全文
posted @ 2018-10-13 15:06 不服憋着 阅读(6081) 评论(0) 推荐(0)
摘要:npm i vuex --save 2: store文件夹下 index.js import Vue from 'vue' import Vuex from 'vuex' Vue.use(Vuex) export const store = new Vuex.Store({ state: { log 阅读全文
posted @ 2018-10-13 14:52 不服憋着 阅读(10998) 评论(0) 推荐(0)
摘要::style = " `height:${size - 110}px;display:${img ''? none : inline};`" width: calc(100% - 90px;) 阅读全文
posted @ 2018-10-13 14:39 不服憋着 阅读(1326) 评论(0) 推荐(0)
摘要:dataZoom:[{ type:'silder', xAxisIndex: 0 , startValue;0, endValue:4,//只显示五个数据 show: true, zoomLock: true, handlesize:0, height:10, bottom:50, filterMo 阅读全文
posted @ 2018-10-13 13:59 不服憋着 阅读(2985) 评论(0) 推荐(0)
摘要:<template> <div class="echarts"> <IEcharts :option="pie" @ready="onReady" @click="onClick"></IEcharts> <button @click="test">go</button> </div> </temp 阅读全文
posted @ 2018-10-13 13:50 不服憋着 阅读(1546) 评论(0) 推荐(0)
摘要:async 方法名() { const data = await axios.post('url',{参数}) } async+await ==> 表示 请求结束后在往下执行 阅读全文
posted @ 2018-10-13 13:08 不服憋着 阅读(190) 评论(0) 推荐(0)
摘要:父组件 :<child :pbi.sync = '' 参数内容 ''></child> 子组件:props获取 更新父组件中对应的 参数 : this.$emit('update : pbi' ,需更新的内容) obj ={ name:'11', age:'233' } v-bind:sync =  阅读全文
posted @ 2018-10-13 12:56 不服憋着 阅读(312) 评论(0) 推荐(0)