@indfnd/common 1.1.53 → 1.1.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,19 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.1.54](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.53...v1.1.54) (2026-02-27)
6
+
7
+
8
+ ### Features
9
+
10
+ * 回滚 ([a42cf41](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/a42cf41962a342806d9a3700aa832368b1a97e78))
11
+ * 移动端放开Excel ([81341ad](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/81341ad0a157d3287ab38aa2cadcac90017712da))
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * 表格导出到excel,isPerMille默认值处理 ([338ee3e](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/338ee3e5a9e809b6c4acd1847a81afad2d0b105e))
17
+
5
18
  ### [1.1.53](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.52...v1.1.53) (2026-02-24)
6
19
 
7
20
 
@@ -5460,7 +5460,7 @@ var lodash = { exports: {} };
5460
5460
  })(lodash, lodash.exports);
5461
5461
  var _ = lodash.exports;
5462
5462
  const name$1 = "@indfnd/common";
5463
- const version = "1.1.52";
5463
+ const version = "1.1.53";
5464
5464
  const author = "huxuetong";
5465
5465
  const publishConfig = {
5466
5466
  registry: "https://registry.npmjs.org/"
@@ -43904,7 +43904,11 @@ function exportJsonToExcel(excelData, isPerMille) {
43904
43904
  } else if (columnType[j] === "n" && lineData[j]) {
43905
43905
  const numericValue = typeof lineData[j].value === "string" ? parseFloat(lineData[j].value.replace(/,/g, "")) : lineData[j].value;
43906
43906
  worksheet.getCell(rowsNow + i, j + 1).value = isNaN(numericValue) ? 0 : numericValue;
43907
- worksheet.getCell(rowsNow + i, j + 1).numFmt = numberFormat[j];
43907
+ if (isPerMille) {
43908
+ worksheet.getCell(rowsNow + i, j + 1).numFmt = numberFormat[j];
43909
+ } else {
43910
+ worksheet.getCell(rowsNow + i, j + 1).numFmt = "";
43911
+ }
43908
43912
  } else {
43909
43913
  worksheet.getCell(rowsNow + i, j + 1).value = "";
43910
43914
  }
@@ -43925,9 +43929,6 @@ function exportJsonToExcel(excelData, isPerMille) {
43925
43929
  }
43926
43930
  _.forEach(dataCellStyle2, (v, k) => {
43927
43931
  worksheet.getCell(rowsNow + i, j + 1)[k] = v;
43928
- if (isPerMille) {
43929
- worksheet.getCell(rowsNow + i, j + 1).numFmt = "#,##0.00";
43930
- }
43931
43932
  });
43932
43933
  }
43933
43934
  } catch (cellError) {
@@ -50950,7 +50951,7 @@ const __vue2_script$1n = {
50950
50951
  },
50951
50952
  isPerMille: {
50952
50953
  type: Boolean,
50953
- default: true
50954
+ default: false
50954
50955
  }
50955
50956
  },
50956
50957
  data() {
@@ -53363,7 +53364,7 @@ const __vue2_script$15 = {
53363
53364
  },
53364
53365
  isPerMille: {
53365
53366
  type: Boolean,
53366
- default: true
53367
+ default: false
53367
53368
  },
53368
53369
  mini: {
53369
53370
  type: Boolean,