10 2022 档案
摘要:主要代码 v-resize="resetTableHeight" // 监听高度变化 resetTableHeight() { // 监听到searchArea高度变化使ivu-table-body高度发生改变 if (document.getElementsByClassName('el-tabl
阅读全文
摘要:// setTimeout(() => { // // 获取要导出的DOM // const rect = document.getElementById('iklDetailAll').getBoundingClientRect() // html2canvas(document.getEleme
阅读全文
摘要:传参 <littlePie :dataList="dataList3" :title="title1"></littlePie> dataList3:[ { name:'123', x:['轻度', '中度', '重度'], y:[150, 230, 224] } ] title3:'载体偏好',
阅读全文
摘要:let router = this.$router.resolve({ // path: "/dataCloudList", path: "/Search", }) window.open(router.href,'_blank')
阅读全文
摘要:const props = defineProps({ id: { type:Number, // 参数类型 default: 1, //默认值 } })
阅读全文
摘要:安装 npm install echarts --save main.ts import { createApp } from 'vue' import './style.css' import * as echarts from 'echarts' import App from './App.v
阅读全文
摘要:原本写法是和vue2一样 <script lang="ts" setup> import { Document, Menu as IconMenu, Location, Setting, } from '@element-plus/icons-vue' const asideList: Array<
阅读全文
摘要:方法 function _download(url,name) { var pdfurl=url; var fileName = name; // 创建对象 var xhr = xhr = new XMLHttpRequest() // 创建一个 GET 请求,异步 xhr.open('GET',
阅读全文