// 获取字符串中出现次数最少的字符function getRareChar(str) {let hash = {};// 将各个字符名字、首次...
一,身份证验证 二,姓名验证 // this.A 为你的数据 三, 手机号验证 // this.A 为你的数据 四, A时间大于B时间验证 ...
<el-table-column fixed="right" label="操作" width="100"><template slot-sco...
一、$refs: (1)类型:object(只读) (2)介绍:一个对象持有所有注册过 ref 的所有子组件。 二、ref: ...
(登录API接口会用到) 异步请求: withCredentials:true(在axios的参数中写入) main.js 配置: Vue.p...
1.脚手架: (1) npm install -g vue-cli (2) vue init webpack 文件名 (3) 初始化 ...
1. input : .el-input { .el-input__inner { &:focus { border-colo...
1. html <!-- 点击应用 --> {{ appIcon }} <!-- 展示icon弹窗 -...
// 模拟本地存储单元测试 Object.defineProperty(localStorage.getItem, 'NAME', { v...