th-design 1.0.6 → 1.0.7

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.
@@ -14,7 +14,7 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
14
14
  * @Author: luohq luohq@2345.com
15
15
  * @Date: 2025-12-29 16:03:10
16
16
  * @LastEditors: luohq luohq@2345.com
17
- * @LastEditTime: 2026-01-14 19:53:25
17
+ * @LastEditTime: 2026-01-15 15:59:46
18
18
  * @FilePath: /tellhowComponent/src/components/ThSelect/service.ts
19
19
  * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
20
20
  */
@@ -130,9 +130,7 @@ function _getList() {
130
130
  params = {};
131
131
  if (query) {
132
132
  Object.keys(query).forEach(function (key) {
133
- if (key === 'keyword' && transformSearchKey) {
134
- params[transformSearchKey] = query[key];
135
- }
133
+ params[key === 'keyword' && transformSearchKey ? transformSearchKey : key] = query[key];
136
134
  });
137
135
  }
138
136
  _context2.next = 16;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "th-design",
4
- "version": "1.0.6",
4
+ "version": "1.0.7",
5
5
  "description": "tellhow component library",
6
6
  "author": "luohq",
7
7
  "keywords": [