fix: button 样式 primary 与 default

This commit is contained in:
就眠儀式
2022-03-24 00:29:51 +08:00
parent 80ee69786f
commit 9700a5e4ff
6 changed files with 78 additions and 32 deletions

View File

@@ -14,7 +14,6 @@ import LayDropdown from "../dropdown";
import LayPage from "../page";
import LayIcon from "../icon";
import "./index.less";
import { AnyARecord } from "dns";
const tableId = guid();
@@ -102,6 +101,7 @@ const rowDoubleClick = function (data: any) {
emit("row-double", data);
};
// 打印 table 数据
const print = function () {
let subOutputRankPrint = document.getElementById(tableId) as HTMLElement;
let newContent = subOutputRankPrint.innerHTML;
@@ -112,6 +112,7 @@ const print = function () {
document.body.innerHTML = oldContent;
};
// 导出 table 数据
const exportData = () => {
const wb = XLSX.utils.book_new();
let arr: any[] = [];