06 2021 档案
摘要:<!-- 拖拽滑动 --> <template> <div id="default_drag_comp" v-show="activeBtnShow" @click="goNext" @touchstart="down" @touchmove="move" @touchend="end" > <im
阅读全文
摘要:实现需求:1.将后端返回的xlsx数据展示在页面上,但不是用elementuiui的table展示,是动态生成表格 2.将xlsx数据导出成sheet(下载导本地) 使用的插件:js-xlsx 实现步骤:安装:npm i xlsx -S 使用:import XLSX from 'xlsx'; 我先用
阅读全文
摘要:路由组件传参解耦方式: 一、布尔模式:只在params传参下有效 { path: '/orderDetail/:id', name: 'orderdetail', component: () => import('../components/orderDetail.vue'), meta: { sh
阅读全文
摘要:第一种:需要在路径上配置动态参数,刷新页面参数不会丢失 //路由配置 { path: '/orderDetail/:id', name: 'orderdetail', component: () => import('../components/orderDetail.vue'), meta: {
阅读全文

浙公网安备 33010602011771号