摘要: iView的Table组件 前端在多选时如果点击下一页则丢失了上一页Table的多选数据(由于采用的后端分页,每次翻页会直接刷新为新数据) 定义变量 loading: false, columnsData: [], //表格表头 talbeData: [], //表格数据 params: { tot 阅读全文
posted @ 2024-09-27 11:44 杏子熟了 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 安装:npm install jsencrypt 安装:npm install js-base64 组件:demo.vue <template></template> <script> // 加密 解密 import { rsaEncryptSet, rsaDecryptSet } from "@/ 阅读全文
posted @ 2024-01-23 17:05 杏子熟了 阅读(819) 评论(0) 推荐(0) 编辑
摘要: AMap-Vue 参考 安装使用 | AMap-Vue (gitee.io) main.js引入 import AmapVue from '@amap/amap-vue'; Vue.use(AmapVue); AmapVue.config.key ='您申请的key值'; AmapVue.confi 阅读全文
posted @ 2023-09-08 11:12 杏子熟了 阅读(2312) 评论(0) 推荐(0) 编辑
摘要: <template> <view class="page-box"> <Icon type="md-add-circle" size="26" class="qa-icon" @click="proofRowChange" /> <Table border :columns="columns" :d 阅读全文
posted @ 2022-04-07 15:29 杏子熟了 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 直接上代码: <!-- 轮播 --> <template> <div class="swiper-out"> <swiper :options="swiperOption"> <swiper-slide v-for="(item, index) in 5" data-index="index" :k 阅读全文
posted @ 2021-02-06 16:05 杏子熟了 阅读(3065) 评论(0) 推荐(0) 编辑
摘要: 安装:npm install --save vue-pdf 组件:pdfCom.vue <template> <div class="show-pdf"> <div> <pdf v-if="pdfSrc" :src="pdfSrc" :page="currentPage" @num-pages="p 阅读全文
posted @ 2020-08-25 18:36 杏子熟了 阅读(1808) 评论(2) 推荐(0) 编辑
摘要: <template> <div class="canlendarPanel"> <div class="canlendar-header"> <el-row :gutter="20" type="flex" class="row-bg" justify="center"> <el-col :span 阅读全文
posted @ 2020-08-20 14:41 杏子熟了 阅读(593) 评论(0) 推荐(0) 编辑
摘要: 最终实现: 1.路由 index.js文件,在大项目中我们将每个层级的路由拆分成多个文件,在主路由router/index.js中引用。 import Vue from 'vue' import Router from 'vue-router' import index1 from './modul 阅读全文
posted @ 2020-08-12 17:58 杏子熟了 阅读(2807) 评论(0) 推荐(0) 编辑
摘要: 效果: 代码实现: <template> <div> <el-date-picker v-model="selectDate" value-format="yyyy-MM-dd" type="date" placeholder="选择日期" @change="selectDaily" :picker 阅读全文
posted @ 2020-07-21 15:47 杏子熟了 阅读(1187) 评论(0) 推荐(0) 编辑
摘要: path匹配路由传参只能用query去接收参数,name来匹配路由只能用params去接收参数 方法一:用name传递参数 方法二:使用name来匹配路由,然后通过params来接收参数 方法三:使用path来匹配路由,然后通过query来接收参数 方法同:name来匹配路由传参 方法四:利用url 阅读全文
posted @ 2019-10-11 10:31 杏子熟了 阅读(7972) 评论(0) 推荐(0) 编辑