@indfnd/common 1.1.38 → 1.1.39

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,18 @@
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.39](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.38...v1.1.39) (2025-12-26)
6
+
7
+
8
+ ### Features
9
+
10
+ * treeselect改为非懒加载 ([e7ee7da](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/e7ee7da6a512306733ed72f10fd5a9c696272479))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **n-table:** 修复数值格式化处理问题 ([2222462](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/2222462deadb96f0a25a9902bc60bf738a19ce5a))
16
+
5
17
  ### [1.1.38](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.37...v1.1.38) (2025-12-25)
6
18
 
7
19
  ### [1.1.37](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.36...v1.1.37) (2025-12-25)
@@ -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.37";
5463
+ const version = "1.1.38";
5464
5464
  const author = "huxuetong";
5465
5465
  const publishConfig = {
5466
5466
  registry: "https://registry.npmjs.org/"
@@ -52344,7 +52344,7 @@ const __vue2_script$1b = {
52344
52344
  if (dateFormat) {
52345
52345
  renderVal = formatDate$1(value);
52346
52346
  } else if (scale === 0) {
52347
- renderVal = value ? parseInt(value) : value;
52347
+ renderVal = value ? Math.round(parseFloat(value)) : value;
52348
52348
  } else if (scale) {
52349
52349
  let cellV = parseFloat(value);
52350
52350
  if (!isNaN(cellV)) {
@@ -53844,14 +53844,19 @@ const __vue2_script$15 = {
53844
53844
  },
53845
53845
  methods: {
53846
53846
  getContextMenuItems: function() {
53847
+ var _a;
53848
+ let exportEnumItems = [];
53849
+ if (!((_a = this.$config) == null ? void 0 : _a.hidePreviewExport)) {
53850
+ exportEnumItems.push({
53851
+ name: "\u9884\u89C8Excel",
53852
+ action: () => {
53853
+ this.$refs.exportData.previewCurrentPage();
53854
+ }
53855
+ });
53856
+ }
53847
53857
  if (this.rowSelection == "multiple") {
53848
53858
  return [
53849
- {
53850
- name: "\u9884\u89C8Excel",
53851
- action: () => {
53852
- this.$refs.exportData.previewCurrentPage();
53853
- }
53854
- },
53859
+ ...exportEnumItems,
53855
53860
  {
53856
53861
  name: "\u5BFC\u51FA\u6570\u636E\u5230Excel",
53857
53862
  action: () => {
@@ -53884,16 +53889,17 @@ const __vue2_script$15 = {
53884
53889
  ];
53885
53890
  } else {
53886
53891
  return [
53892
+ ...exportEnumItems,
53887
53893
  {
53888
- name: "\u9884\u89C8Excel",
53894
+ name: "\u5BFC\u51FA\u6570\u636E\u5230Excel",
53889
53895
  action: () => {
53890
- this.$refs.exportData.previewCurrentPage();
53896
+ this.$refs.exportData.exportCurrentPage();
53891
53897
  }
53892
53898
  },
53893
53899
  {
53894
- name: "\u5BFC\u51FA\u6570\u636E\u5230Excel",
53900
+ name: `${this.fullSreen ? "\u53D6\u6D88\u5168\u5C4F" : "\u5168\u5C4F"}`,
53895
53901
  action: () => {
53896
- this.$refs.exportData.exportCurrentPage();
53902
+ this.toggleFullScreen();
53897
53903
  }
53898
53904
  }
53899
53905
  ];