摘要:
<template> <section class="ces-table-page"> <!-- 表格操作按钮 --> <section class="ces-handle" v-if='isHandle'> <el-button v-for='item in tableHandles' :key= 阅读全文
摘要:
<scroll-view scroll-x class="navbar" scroll-with-animation scroll-left="{{scrollLeft}}rpx"> <view class="nav-item" wx:for="{{tabs}}" wx:key="id" bindt 阅读全文
摘要:
绑定一个点击事件: 点击触发的函数 jumpToReportDetail: function(e) { if (e.timeStamp-this.data.lastClickTime < 300){ return } this.setData({ lastClickTime: e.timeStamp 阅读全文
摘要:
点击一个按钮,截取对应区域的界面,才对截取的界面进行裁切并下载 下载 html2canvas npm install html2canvas --save 引用 : import html2canvas from 'html2canvas' components: { html2canvas},将你 阅读全文
摘要:
直接上代码吧 <div > <el-button type="success" size="small" @click="isViewPdf20 = true" >按钮</el-button></div><el-dialog title="预览文件" :visible.sync="isViewPdf 阅读全文