From 78af12924090665cf95fd4491c08b9d4641c897e Mon Sep 17 00:00:00 2001
From: zhuzhuanzhuan
Date: 星期三, 20 九月 2023 14:32:12 +0800
Subject: [PATCH] 1、优化加班管理页面查询区域响应式布局问题,电脑屏幕比例不同出现布局混乱 2、优化加班管理页面表格加班时间与新增操作时设置的加班时间不同

---
 src/components/table2excel/table2excel.js |   11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/src/components/table2excel/table2excel.js b/src/components/table2excel/table2excel.js
index 940c431..0767353 100644
--- a/src/components/table2excel/table2excel.js
+++ b/src/components/table2excel/table2excel.js
@@ -1,11 +1,4 @@
-/*
- *  jQuery table2excel - v1.1.2
- *  jQuery plugin to export an .xls file in browser from an HTML table
- *  https://github.com/rainabba/jquery-table2excel
- *
- *  Made by rainabba
- *  Under MIT License
- */
+
 //table2excel.js
 import jQuery from 'jquery'
 (function ( $, window, document, undefined ) {
@@ -77,7 +70,7 @@
           }
 
           // Create HTML for Row
-          tempRows += "<tr style='" + additionalStyles + "'>";
+          tempRows += "<tr align='center' valign='center' style='" + additionalStyles + "'>";
 
           // Loop through each TH and TD
           $(p).find("td,th").not(e.settings.exclude).each(function (i,q) { // p did not exist, I corrected

--
Gitblit v1.9.3