js canvas生成图片

// 用到的库 https://html2canvas.hertzen.com/ // div转图片 <script src="https://html2canvas.hertzen.com/dist/html2canvas.min.js"></script> <script type="text/javascript">

- 阅读全文 -

js 打印

// 打印图片 function printThisWindow(url) { let iframe = document.createElement('IFRAME') let doc = null iframe.setAttribute('class', 'print-iframe') iframe.setAttr

- 阅读全文 -

js 在vue2中使用ws

main.js中import store from './store' const app = new Vue({ store, ...App })store/index.js中import Vue from "vue"; import Vuex from "vuex"; import * as actions from "./

- 阅读全文 -

js 工具类

const XLSX = require("xlsx"); import Papa from "papaparse"; export const ChenUtil = { // tree treeUtil: { generateTreeData: function (data, nodeId, parentNodeKey) {

- 阅读全文 -

js ws连接

let uid = 1 $(function () { var lockReconnect = false;//避免重复连接 window.ws = null; //WebSocket的引用 var wsUrl = `host:9508?type=admin&uid=` + uid; layui.use(['

- 阅读全文 -

最新文章

最近回复

  • chen: Hello,Currently, this software i...
  • Georgebug: Sawubona, bengifuna ukwazi inten...
  • chen: 添加快递哪里你应该是没有添加店铺就添加快递了吧
  • chen: 加一下我微信,这里我不怎么看
  • : 添加快递那里点击没反应,无法添加

分类

标签

归档

其它