摘要:
<template> <el-table ref="singleTable" :data="tableData" tooltip-effect="dark" style="width: 100%" @select-all="selectAll" @select="rowSelect" @select 阅读全文
摘要:
<div class="content"></div> <el-button @click="copy">复制</el-button> copy() { let pList = document.querySelectorAll(".content") let valueList = [] if ( 阅读全文
摘要:
//字符串形式比较 let num = "return 19726.94 == 4561.33+15165.61" //获取字符串中的数字 extractNumber(str) { // 匹配整数、小数、正负号 const regex = /-?\d+(\.\d+)?/g; // 匹配结果 cons 阅读全文
摘要:
<template> <div> <div>{{content}}</div> <el-button size="small" icon="icon iconfont ps-fuzhi" type="primary" @click="testCopy()"> 复制 </el-button> </di 阅读全文
摘要:
//安装依赖 npm i markdown-it-vue //引入markdown-ite-vue import MarkdownItVue from "markdown-it-vue"; import "markdown-it-vue/dist/markdown-it-vue.css"; //注册 阅读全文
摘要:
1.建立platter类函数,命名为CustomPalette.js export default class CustomPalette { constructor(create, elementFactory, palette) { this.create = create; this.elem 阅读全文
摘要:
安装 "bpmn-js-properties-panel": "^1.6.1" 引入样式库 import { BpmnPropertiesPanelModule, BpmnPropertiesProviderModule, } from "bpmn-js-properties-panel"; imp 阅读全文
摘要:
//安装clipboard.js //npm install --save clipboard.js <template> <div>{{ params}}</div> <el-button size="small" class="btn">复制</el-button> </template> <s 阅读全文
摘要:
<el-dropdown trigger="click" ref="dropdownbtn"></el-dropdown> this.$refs.dropdownbtn.hide(); // 隐藏 this.$refs.dropdownbtn.show(); // 显示 阅读全文
摘要:
//在main.js添加 Vue.directive('siem-dropdown', function (el, binding, vNode) { let ul = el.querySelector("ul") let uid = vNode.componentInstance._uid; // 阅读全文