@indfnd/common-mobile 1.0.11 → 1.0.12

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.0.12](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v1.0.11...v1.0.12) (2026-01-08)
6
+
7
+
8
+ ### Features
9
+
10
+ * merge ([a53dc5a](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/a53dc5ad94be1336fb58195788304bf1c4192cff))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * 修改 ([43dbae2](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/43dbae25fe70bbb1272ef7ce0df64196550ad4fa))
16
+
5
17
  ### [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
18
 
7
19
 
@@ -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.11";
7
7
  const author$1 = "huxuetong";
8
8
  const publishConfig = {
9
9
  registry: "https://registry.npmjs.org/"
@@ -22976,15 +22976,20 @@ const __vue2_script$d = {
22976
22976
  this.searchNum = data49;
22977
22977
  },
22978
22978
  updateSelectedTitles() {
22979
- var _a;
22979
+ var _a, _b, _c, _d;
22980
22980
  let tempNodes = _.filter(this.value, (d) => {
22981
22981
  return !d.children || d.children.length == 0;
22982
22982
  });
22983
22983
  let textField = "title";
22984
- if (((_a = this.columnsComp) == null ? void 0 : _a.length) > 1) {
22984
+ if ((_a = this.options) == null ? void 0 : _a.length) {
22985
+ textField = "V";
22986
+ } else if (((_b = this.columnsComp) == null ? void 0 : _b.length) > 1) {
22985
22987
  textField = this.columnsComp[1].field;
22986
22988
  }
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 : "";
22989
+ console.log("textField is", textField);
22990
+ 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) => {
22991
+ return d.K == tempNodes[0].K;
22992
+ })) == null ? void 0 : _d.V : tempNodes[0][textField] : "\u5171\u9009\u62E9" + ((tempNodes == null ? void 0 : tempNodes.length) || 0) + "\u4E2A" + this.title : "";
22988
22993
  },
22989
22994
  setSelectedTitles(title4) {
22990
22995
  this.selectedTitles = title4;