会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
elliot1004
博客园
首页
新随笔
联系
订阅
管理
1
2
下一页
2024年11月25日
elementui table 相同名字的行 合并;
摘要: <el-table :data="tableData :span-method="mergeRows" > <el-table-column prop="deptName" label="部门名称"> </el-table-column> </el-table> flitterData (arr,
阅读全文
posted @ 2024-11-25 08:46 elliot1004
阅读(193)
评论(0)
推荐(0)
2023年11月2日
keepalive 跳转到某个页面缓存 否则不缓存 缓存浏览的位置
摘要: export const KeepaliveListMixin = { /** * 两个路由守卫 实现 从详情返回到列表 列表页面缓存 否则就不缓存 */ beforeRouteEnter (to, from, next) { to.meta.keepAlive = true; next() },
阅读全文
posted @ 2023-11-02 15:23 elliot1004
阅读(37)
评论(0)
推荐(0)
2023年8月23日
vite +vue2 搭建
摘要: 1.1 创建项目 注意:这里vite的版本采用2.8.0的,最新的版本创建后续会出现问题 npm init vite@2.8.0 后续,安装如图 创建好项目后 // 1.进入项目 cd vite-vue2 // 2.安装依赖 npm install // 3.启动项目 npm run dev 1.2
阅读全文
posted @ 2023-08-23 09:12 elliot1004
阅读(306)
评论(0)
推荐(0)
2023年2月16日
nuxt3 +element-plus +tailwind 笔记
摘要: 一. npx nuxi init nuxt3-club 创建项目的时候会报错: ERROR Failed to download template from registry: request to https://raw.githubusercontent.com/nuxt/starter/tem
阅读全文
posted @ 2023-02-16 17:12 elliot1004
阅读(1112)
评论(0)
推荐(0)
2022年11月5日
webpack5 学习手册
摘要: 1. 初始化 webpack 项目 npm init -y (初始化一个 package.json 文件) 2. npm i webpack webpack-cli -D 下载这两个依赖包 3. npx webpack ./src/main.js --mode development //【 入口文
阅读全文
posted @ 2022-11-05 17:19 elliot1004
阅读(84)
评论(0)
推荐(0)
2022年9月5日
前端开发常用到的插件
摘要: 1. lazyload 图片懒加载 https://www.appelsiini.net/projects/lazyload/ 2.textillate.jscss3动画 文字进入的特效; 3.fullPage.js //jQuery全屏滚动插件fullPage.js演示 https://www.d
阅读全文
posted @ 2022-09-05 15:43 elliot1004
阅读(383)
评论(0)
推荐(0)
2022年8月25日
vue3 学习笔记
摘要: watch let sum = ref('0'); let person = reactive({ sex:‘女’, age:18, }) watch(sum,(oldVal,newVal) =>{ console.log(oldVal,newVal); }) /** 监视reactive 所定义的
阅读全文
posted @ 2022-08-25 17:55 elliot1004
阅读(25)
评论(0)
推荐(0)
2022年7月19日
v3+vite +ant design
摘要: 1.表单嵌套验证 <a-form-item :name="['formInline.discount_rules', index, 'discount_value']" :rules="rules.discount_value" class="mt-[24px]" > <a-input v-mode
阅读全文
posted @ 2022-07-19 17:29 elliot1004
阅读(3849)
评论(0)
推荐(0)
2022年7月7日
vue3 excel下载 xlsx插件
摘要: 1.安装插件: npm install --save xlsx file-saver 2.页面中引入 // 引入file插件 import FileSaver from "file-saver"; // 引入xlsx插件 import * as XLSX from "xlsx"; 3.事件 cons
阅读全文
posted @ 2022-07-07 16:28 elliot1004
阅读(1563)
评论(0)
推荐(0)
2022年6月7日
vue--- xlsx 前端下载excel【vue2】
摘要: 命令安装: npm install file-saver --save npm install xlsx --save main.js: var XLSX = require("xlsx"); 引用的页面: import * as XLSX from 'xlsx/xlsx.mjs'; /* load
阅读全文
posted @ 2022-06-07 10:25 elliot1004
阅读(451)
评论(0)
推荐(0)
1
2
下一页
公告