安装依赖
npm i vue-to-pdf --save
main引入
import vueToPdf from 'vue-to-pdf';
Vue.use(vueToPdf);
html
<div id="exportPdf" ...
3年前 (2021-12-24)
喜欢
markerClick(e) {
console.log(e)
var MyComponent = Vue.extend({
template: `<div class="detailpop">
...
3年前 (2021-12-24) 0评论
喜欢
You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render funct...
3年前 (2021-12-24) 0评论
喜欢
.popSearchBody {
::v-deep {
/* 设置树形最外层的背景颜色和字体颜色 */
.el-tree {
color: #fff;
background: transparent;
}
/* 设置三...
3年前 (2021-12-20)
喜欢
<template>
<div class="treelist scroll">
<div class="treelistitem" v-for="(item,index) in lis...
3年前 (2021-12-19)
喜欢
This dependency was not found:
* core-js/modules/es.regexp.dot-all.js in ./src/utils/index.js
To install it, you can run: npm install --sa...
3年前 (2021-12-14)
喜欢
第一种方法
getqx (e) {
var data = this.qx
var isshow = false
data.forEach((type) => {
if (e == type) {
...
3年前 (2021-12-12)
喜欢
更多进度条效果实例
vue 数据可视化大屏进度条效果实例
<template>
<div class="centerpr">
<div class="centerprs">
&l...
3年前 (2021-12-08)
喜欢
定义
<slot name="title"></slot>
使用
<div slot="title" class="downx">
</div>
使用
<temp...
3年前 (2021-12-08)
喜欢
computed: {
list2: function () {
let total = 0
var list2 = this.list;
var list = []
this.list.forEach((type) ...
3年前 (2021-12-04)
喜欢