@indfnd/common-mobile 1.0.11 → 1.0.13

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,20 @@
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.0.13](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v1.0.12...v1.0.13) (2026-01-09)
6
+
7
+ ### [1.0.12](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v1.0.11...v1.0.12) (2026-01-08)
8
+
9
+
10
+ ### Features
11
+
12
+ * merge ([a53dc5a](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/a53dc5ad94be1336fb58195788304bf1c4192cff))
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * 修改 ([43dbae2](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/43dbae25fe70bbb1272ef7ce0df64196550ad4fa))
18
+
5
19
  ### [1.0.11](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v1.0.10...v1.0.11) (2026-01-08)
6
20
 
7
21
 
@@ -3,7 +3,7 @@ import { getQuarterNum, getHalfYearNum, formatDate, useConfig, getLocalStorage,
3
3
  import Vue$1 from "vue";
4
4
  import { DropdownMenu as DropdownMenu$1, DropdownItem as DropdownItem$1, Message, LoadingBar, Spin } from "view-design";
5
5
  const name$1 = "@indfnd/common-mobile";
6
- const version$2 = "1.0.10";
6
+ const version$2 = "1.0.12";
7
7
  const author$1 = "huxuetong";
8
8
  const publishConfig = {
9
9
  registry: "https://registry.npmjs.org/"
@@ -22902,10 +22902,9 @@ const __vue2_script$d = {
22902
22902
  }
22903
22903
  },
22904
22904
  columnsComp: function() {
22905
- var _a;
22906
22905
  if (this.columns) {
22907
22906
  return this.columns;
22908
- } else if ((_a = this.options) == null ? void 0 : _a.length) {
22907
+ } else {
22909
22908
  return [
22910
22909
  {
22911
22910
  headerName: "\u9009\u62E9",
@@ -22923,8 +22922,6 @@ const __vue2_script$d = {
22923
22922
  showDisabledCheckboxes: true
22924
22923
  }
22925
22924
  ];
22926
- } else {
22927
- return null;
22928
22925
  }
22929
22926
  },
22930
22927
  rowKeyComp: function() {
@@ -22976,15 +22973,20 @@ const __vue2_script$d = {
22976
22973
  this.searchNum = data49;
22977
22974
  },
22978
22975
  updateSelectedTitles() {
22979
- var _a;
22976
+ var _a, _b, _c, _d;
22980
22977
  let tempNodes = _.filter(this.value, (d) => {
22981
22978
  return !d.children || d.children.length == 0;
22982
22979
  });
22983
22980
  let textField = "title";
22984
- if (((_a = this.columnsComp) == null ? void 0 : _a.length) > 1) {
22981
+ if ((_a = this.options) == null ? void 0 : _a.length) {
22982
+ textField = "V";
22983
+ } else if (((_b = this.columnsComp) == null ? void 0 : _b.length) > 1) {
22985
22984
  textField = this.columnsComp[1].field;
22986
22985
  }
22987
- this.selectedTitles = (tempNodes == null ? void 0 : tempNodes.length) ? (tempNodes == null ? void 0 : tempNodes.length) == 1 ? tempNodes[0][textField] : "\u5171\u9009\u62E9" + ((tempNodes == null ? void 0 : tempNodes.length) || 0) + "\u4E2A" + this.title : "";
22986
+ console.log("textField is", textField);
22987
+ this.selectedTitles = (tempNodes == null ? void 0 : tempNodes.length) ? (tempNodes == null ? void 0 : tempNodes.length) == 1 ? ((_c = this.options) == null ? void 0 : _c.length) ? (_d = this.options.find((d) => {
22988
+ return d.K == tempNodes[0].K;
22989
+ })) == null ? void 0 : _d.V : tempNodes[0][textField] : "\u5171\u9009\u62E9" + ((tempNodes == null ? void 0 : tempNodes.length) || 0) + "\u4E2A" + this.title : "";
22988
22990
  },
22989
22991
  setSelectedTitles(title4) {
22990
22992
  this.selectedTitles = title4;