上一页 1 2 3 4 5 6 7 8 9 ··· 13 下一页
摘要: // this.indexList 要禁选的数据,建议只取标识,例如:id,index // row.index 是可以和 上面那个数组相对应的数据。建议取 唯一标识,例如: id,index //置灰部分选择 selectable(row, index){ return !(this.indexL 阅读全文
posted @ 2022-05-30 15:41 薛定谔_猫 阅读(787) 评论(0) 推荐(0)
摘要: 列表以及获取数据你们自己写,重点在于俩个方法以及传参和获取方式 // 注意: 取消方法一定要传空数组,不然容易造成列表取消了勾选仍然能获取到数据 <el-button type="primary" @click="submit" >确 定</el-button> <el-button @click= 阅读全文
posted @ 2022-05-09 17:21 薛定谔_猫 阅读(1719) 评论(0) 推荐(0)
摘要: 安装依赖 npm install compression-webpack-plugin --save-dev 在vue.config.js 的 代理配置底下建立一个 wepack 配置,放入 压缩代码就行 vue config js 的配置 onst CompressionWebpackPlugin 阅读全文
posted @ 2022-05-07 19:03 薛定谔_猫 阅读(261) 评论(0) 推荐(0)
摘要: 1. 在 src 底下建立一个 utils (工具类文件夹,用于存放各种工具) 文件夹 2. utils 文件夹底下放各种 工具类的 js 文件 // 备注: 这个工具主要用来计算屏幕高度的 Math.easeInOutQuad = function(t, b, c, d) { t /= d / 2 阅读全文
posted @ 2022-03-29 15:47 薛定谔_猫 阅读(179) 评论(0) 推荐(0)
摘要: 一、Node.js下载安装 http://nodejs.cn/download/ 自己安装一个稳定的node版本就行,根据命令看是否安装成功即可 二、安装淘宝镜像 npm install -g cnpm --registry=https://registry.npm.taobao.org 注:这里n 阅读全文
posted @ 2022-03-29 11:03 薛定谔_猫 阅读(44) 评论(0) 推荐(0)
摘要: .top-center{ -webkit-animation: bounce-down 1.6s linear infinite; animation: bounce-down 1.6s linear infinite; //时间控制 } @-webkit-keyframes bounce-down 阅读全文
posted @ 2022-03-25 15:16 薛定谔_猫 阅读(157) 评论(0) 推荐(0)
摘要: //禁止用户复制粘贴 forbid(){ var noright = ""; if(!noright){ document.onselectstart=function(){return false;}; //禁止复制粘贴 window.oncontextmenu=function(){return 阅读全文
posted @ 2022-03-08 15:21 薛定谔_猫 阅读(263) 评论(0) 推荐(0)
摘要: var contents = '' contents = this.addData.content.replace(/<[^>]+>/g, "") if( contents == '' ){ this.$message.error("留言不能为空") return } if(contents.len 阅读全文
posted @ 2022-03-08 15:13 薛定谔_猫 阅读(762) 评论(0) 推荐(0)
摘要: 先引入:npm install vuex --save 1. vue 项目中 src 底下创建一个 store 文件夹 => 创建一个 index.js 和 一个 gttters.js 文件 2.sotre 文件夹底下创建一个 modules 文件夹 => 创建 user.js 和 setting. 阅读全文
posted @ 2022-02-22 15:43 薛定谔_猫 阅读(666) 评论(0) 推荐(0)
摘要: //npm下载 npm install --save emoji-mart-vue // template 应用 import { Picker } from "emoji-mart-vue"; //引入组件 components: { //注册组件,不能全局挂载 Picker } // 直接丢在输 阅读全文
posted @ 2022-01-13 14:20 薛定谔_猫 阅读(5105) 评论(0) 推荐(1)
上一页 1 2 3 4 5 6 7 8 9 ··· 13 下一页