@indfnd/common-mobile 0.0.18 → 0.0.20

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,15 @@
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
+ ### [0.0.20](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.19...v0.0.20) (2024-04-19)
6
+
7
+ ### [0.0.19](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.18...v0.0.19) (2024-04-19)
8
+
9
+
10
+ ### Features
11
+
12
+ * 筛选逻辑修改 ([fd017a6](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/fd017a6d2764dfd122a499e3ddc959432cce2356))
13
+
5
14
  ### [0.0.18](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.17...v0.0.18) (2024-04-17)
6
15
 
7
16
 
@@ -2,7 +2,7 @@ import { getQuarterNum, getHalfYearNum, getHalfYear, formatDate, checkIdCard, ch
2
2
  import { DropdownMenu as DropdownMenu$1, DropdownItem as DropdownItem$1, Message, LoadingBar, Spin } from "view-design";
3
3
  import Vue$1 from "vue";
4
4
  const name = "@indfnd/common-mobile";
5
- const version$1 = "0.0.17";
5
+ const version$1 = "0.0.19";
6
6
  const author = "huxuetong";
7
7
  const publishConfig = {
8
8
  registry: "https://registry.npmjs.org/"
@@ -44551,9 +44551,11 @@ const __vue2_script$h = {
44551
44551
  let datas;
44552
44552
  if (this.searchVal) {
44553
44553
  datas = _.filter(this.rows, (d) => {
44554
- return _.some(this.formFieldList, (dd) => {
44555
- return _.includes(d[dd.formKey], this.searchVal);
44556
- });
44554
+ var _a;
44555
+ let titleKey = (_a = _.find(this.formFieldList, (d2) => {
44556
+ return !!d2.isTitle;
44557
+ })) == null ? void 0 : _a.formKey;
44558
+ return titleKey ? _.includes(d[titleKey], this.searchVal) : false;
44557
44559
  }) || [];
44558
44560
  } else {
44559
44561
  datas = this.rows || [];