最近在做一个将html 页面导出为word 的功能,在网上找了一通,发现简单的方案,是使用 jQuery-Word-Export.js , 因为我的html 页面中包含有 echarts 图表,直接导出,图表不能导出, 网上找了相关的方案,是通过现将图片通过base64 编码后,再导出,这样操作完后 ...
分类:
Web程序 时间:
2020-09-10 22:57:31
阅读次数:
99
一、v-text 用于渲染普通文本,无论何时,绑定的数据对象上 msg属性发生了改变,插值处的内容都会更新。 1 2 3 <span v-text="message"></span> <!-- 简写方式 --> <span>{{message}}</span> export default { da ...
分类:
Web程序 时间:
2020-09-07 19:22:14
阅读次数:
83
I have assigned relationship PRDLOCS to product category MAT_HAWA in CRM: And I create a product based on category MAT_HAWA. To my surprise, I could n ...
分类:
其他好文 时间:
2020-09-04 17:15:33
阅读次数:
42
http://acm.hdu.edu.cn/showproblem.php?pid=6880 根据长度为n的排列a,构造长度n-1的序列b 思路:DP 官方题解: 代码: #include<iostream> #include<cstdio> #include<cstring> #include<a ...
分类:
其他好文 时间:
2020-09-03 17:00:42
阅读次数:
38
踩坑大赛:哈哈 重要的就是环境配置:<修改**.bash_profile**文件> vi/open/。。 vim ~/.bash_profile #进入.bash_profile文件后,进行编辑,插入 export PATH="/这里是你安装的路径/anaconda3/bin:$PATH" 我的地址 ...
分类:
系统相关 时间:
2020-09-03 16:42:53
阅读次数:
52
本章节主要讲自动发现使用场景介绍与Prometheus基于文件、DNS的自动发现配置.
分类:
其他好文 时间:
2020-08-29 15:20:34
阅读次数:
47
#include <reg52.h>#include <intrins.h> sbit LED0 = P0^0;sbit LED1 = P0^1;sbit LED2 = P0^2;sbit LED3 = P0^3;sbit LED4 = P0^4;sbit LED5 = P0^5;sbit LED6 ...
分类:
其他好文 时间:
2020-08-28 14:25:59
阅读次数:
43
<?php /** * @description 导出数据到CSV * @param array $data 二维数据数组 * @param array $head 列标题 一维数组 * @param string $fileName 导出的文件名称 */ function export_to_cs ...
分类:
Web程序 时间:
2020-08-26 18:48:45
阅读次数:
68
参考:https://segmentfault.com/a/1190000019301545 export default { data() { return { websock: null, } }, created(){ //页面刚进入时开启长连接 this.initWebSocket() }, ...
分类:
Web程序 时间:
2020-08-25 18:27:46
阅读次数:
60
调用事件处理函数,this指向函数,this不是指向实例,解决这个问题就是给调用函数时bind(this)改变this指向或者使用箭头函数 1、bind改变this指向 export default class Home extends Component { constructor(){ supe ...
分类:
其他好文 时间:
2020-08-24 16:37:47
阅读次数:
49