- 博客(6)
- 收藏
- 关注
原创 Vue-cli+Element(button更改按钮默认样式)
<el-button type="primary">主要按钮</el-button> /* 更改element-UI按钮样式 */ .el-button--primary{ color: #fff; background-color: #FF69B4; border-color: #FF69B4; } .el-button--...
2018-12-25 16:46:22 27607 4
原创 Vue报错(Property or method "xxx" is not defined on the instance but referenced during render.)
报错如下:Property or method “xxx” is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initi...
2018-12-14 12:57:12 207640 51
原创 Vue报错(the "scope" attribute for scoped slots have been deprecated and replaced by "slot-scope" )
报错如下:the “scope” attribute for scoped slots have been deprecated and replaced by “slot-scope” since 2.5.The new “slot-scope” attribute can also be used on plain elements in addition to to denote sc...
2018-12-13 15:07:13 6979 1
原创 Vue-cli+Element (阻止表单输入框回车刷新页面)
添加回车事件@keyup.enter.native<el-form-item> <el-input placeholder="姓名" v-model="name" @keyup.enter.native="getList(true)"> <i slot="suffix" class="el-input__icon
2018-12-10 16:45:58 1670
原创 Git基本常用命令
Git是目前世界上最先进的分布式版本控制系统。工作区:就是你在电脑上看到的目录,比如目录下testgit里的文件(.git隐藏目录版本库除外)。或者以后需要再新建的目录文件等等都属于工作区范畴。版本库(Repository):工作区有一个隐藏目录.git,这个不属于工作区,这是版本库。其中版本库里面存了很多东西,其中最重要的就是stage(暂存区),还有Git为我们自动创建了第一个分支mast...
2018-12-04 16:57:45 104
原创 二进制补零、取值,for..in Key排序问题
二进制(111111)每一位的数值代表着不同的含义,所以有了以下操作var arr= ''//二进制补零var TFlag=(Array(6).join(0) + Number(data.lines[0].TFlag).toString(2)).slice(-6);var base = {'5n':"一",'4n':"二",'3n':"三"};let other = {'2':"四 ",...
2018-12-03 10:37:36 559
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人