提交 ea9420fa authored 作者: 钟是志's avatar 钟是志

优化代码

上级 97376c8f
...@@ -439,7 +439,6 @@ export function getColumnsData({ ...@@ -439,7 +439,6 @@ export function getColumnsData({
eliminateCol = [], eliminateCol = [],
docxSheet = {}, docxSheet = {},
}) { }) {
debugger
columns = deepCopy(columns); columns = deepCopy(columns);
data = deepCopy(data); data = deepCopy(data);
let { let {
...@@ -457,8 +456,6 @@ export function getColumnsData({ ...@@ -457,8 +456,6 @@ export function getColumnsData({
eliminateRow, eliminateRow,
eliminateCol eliminateCol
}); });
debugger
// 处理数据 // 处理数据
let bodyData = []; let bodyData = [];
let dataMerges = []; let dataMerges = [];
...@@ -877,7 +874,6 @@ function getSetKeyJson({ ...@@ -877,7 +874,6 @@ function getSetKeyJson({
// delete obj[e]; // delete obj[e];
switch (type) { switch (type) {
case "time": case "time":
debugger
newKeyObj[newKey] = (timeFormat && value ? moment(value).format(timeFormat) : value) || defaultValue; newKeyObj[newKey] = (timeFormat && value ? moment(value).format(timeFormat) : value) || defaultValue;
break; break;
default: default:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论