12 2022 档案
摘要:一、pdf预览解决: 用iframe src后台路径。 二、word预览 这个插件支持.docx不支持.doc npm i docx-preview@0.1.4 npm i jszip const docx = require('docx-preview'); window.JSZip = requ
阅读全文
摘要:initEchartsFive() { let that = this; var myChart = this.$echarts.init(document.getElementById("map")); // axios.get("map.json").then((res) => { this.$
阅读全文
摘要:npm install file-saver --savethis.$http.downFileApi(this.downForm).then((res) => { this.spinning = false; const blob = new Blob([res.data], { type: "a
阅读全文
摘要:<template> <a-breadcrumb separator="/"> <a-breadcrumb-item v-for="item in breadList" :key="item.path" :href="item.path" > <a :href="item.path"> {{ ite
阅读全文