摘要: /deep/.el-table--scrollable-y ::-webkit-scrollbar { display: none; } el-table--scrollable-y 选中滚动条类名 替换 阅读全文
posted @ 2020-12-18 14:11 张新钢 阅读(8748) 评论(0) 推荐(1)
摘要: Vue 导出 excel // 导入插件 npm install --save xlsx file-saver // 代码部分 <template> <div> <el-button @click="outExcel">导出excel表格文件</el-button> <el-table :data= 阅读全文
posted @ 2020-12-10 11:50 张新钢 阅读(112) 评论(0) 推荐(0)
摘要: 全局git区分大小写 git config --global core.ignorecase false 已经区分出大小写后,把识别出来更改大小写的文件 上传到github 然而,区分之前的还在github仓库 如何解决 1. git rm -r --cached . [注意后面的'点'] 2. g 阅读全文
posted @ 2020-12-08 14:01 张新钢 阅读(155) 评论(0) 推荐(0)
摘要: 管理员cmd,执行指令 netsh winsock reset,重启电脑 阅读全文
posted @ 2020-12-08 09:03 张新钢 阅读(309) 评论(0) 推荐(0)
摘要: ![](https://img2020.cnblogs.com/blog/1881277/202012/1881277-20201207093406543-47684215.png) 阅读全文
posted @ 2020-12-07 09:35 张新钢 阅读(388) 评论(0) 推荐(0)
摘要: <template> <div class="table"> <div class="search-Box"> <el-input placeholder="请输入关键字" icon="search" class="search" v-model="search"></el-input> </div 阅读全文
posted @ 2020-12-02 11:41 张新钢 阅读(2719) 评论(0) 推荐(0)
摘要: Vuex Vuex 是一个专为 Vue.js 应用程序开发的状态管理模式。它采用集中式存储管理应用的所有组件的状态,并以相应的规则保证状态以一种可预测的方式发生变化。 Vuex整体框架 import Vue from 'vue' import Vuex from 'vuex' Vue.use(Vue 阅读全文
posted @ 2020-11-20 16:37 张新钢 阅读(67) 评论(0) 推荐(0)
摘要: 实时变化的Echars 调用watch方法 // 查看数据发生变化 watch: { desulfurationNumArr () { console.log(this.desulfurationNumArr) this.leftTopFun() }, so2num () { console.log 阅读全文
posted @ 2020-11-17 18:03 张新钢 阅读(1810) 评论(0) 推荐(0)
摘要: Vue不断请求数据 用定时器SetTimeOut 不带参数发给后端 <template> <div> <el-button @click="getData">点击</el-button> <div>{{one}}</div> </div> </template> <script> export de 阅读全文
posted @ 2020-11-14 11:29 张新钢 阅读(10033) 评论(0) 推荐(0)
摘要: <div class="charts rightTopEcharts"> <script> mounted () { this.rightTopFun() }, methods: { // 右上 rightTopFun () { // 基于准备好的dom,初始化echarts实例 var myCha 阅读全文
posted @ 2020-11-12 11:56 张新钢 阅读(143) 评论(0) 推荐(0)