sard-uniapp 1.13.2 → 1.13.3

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
@@ -1,9 +1,18 @@
1
+ ## [1.13.3](https://github.com/sutras/sard-uniapp/compare/v1.13.2...v1.13.3) (2025-05-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * 修复tabs组件初始触发change事件问题 ([f9a408b](https://github.com/sutras/sard-uniapp/commit/f9a408b77cd83dbe62498145daf197b958886c0d))
7
+
8
+
9
+
1
10
  ## [1.13.2](https://github.com/sutras/sard-uniapp/compare/v1.13.1...v1.13.2) (2025-05-06)
2
11
 
3
12
 
4
13
  ### Bug Fixes
5
14
 
6
- * 修复progress-bar inside 时显示问题 ([dd784e7](https://github.com/sutras/sard-uniapp/commit/dd784e73aab9be1237f6b78bf07f2d5b924e3e46))
15
+ * 修复progress-bar inside 时显示问题 ([1e633ed](https://github.com/sutras/sard-uniapp/commit/1e633ed67b41558a122675bc9f35aeda76ecb569))
7
16
 
8
17
 
9
18
 
@@ -12,7 +21,7 @@
12
21
 
13
22
  ### Bug Fixes
14
23
 
15
- * 修复notify显示问题 ([f021622](https://github.com/sutras/sard-uniapp/commit/f02162261886743015ab9c0965213db7b1c0ab1f))
24
+ * 修复notify显示问题 ([30d3f36](https://github.com/sutras/sard-uniapp/commit/30d3f36c2a9ca31fb2c9103b7195ccdf79bcbbb4))
16
25
 
17
26
 
18
27
 
@@ -21,9 +30,9 @@
21
30
 
22
31
  ### Features
23
32
 
24
- * button 组件新增 icon 功能 ([53a54f5](https://github.com/sutras/sard-uniapp/commit/53a54f5e55d698d10f5a5e8009b3cc4d1d4529ea))
25
- * 新增 divider 组件 ([261b234](https://github.com/sutras/sard-uniapp/commit/261b234e0a963da6d3ff2dd85028df0d31ee812d))
26
- * 新增 FloatingPanel 组件 ([f879433](https://github.com/sutras/sard-uniapp/commit/f879433a93afd93df58baeed227ddbb9da6b1730))
33
+ * button 组件新增 icon 功能 ([ff69d30](https://github.com/sutras/sard-uniapp/commit/ff69d302b76c897acc4b639ed82708c6b45a00f1))
34
+ * 新增 divider 组件 ([410fe89](https://github.com/sutras/sard-uniapp/commit/410fe895d91a0e811ea9631bb17059fdb10d44b0))
35
+ * 新增 FloatingPanel 组件 ([ddb6561](https://github.com/sutras/sard-uniapp/commit/ddb6561ef72cc279a00b890703693298a20086f1))
27
36
 
28
37
 
29
38
 
@@ -32,7 +41,7 @@
32
41
 
33
42
  ### Bug Fixes
34
43
 
35
- * 修复 table 组件 sass 导入问题 ([2975683](https://github.com/sutras/sard-uniapp/commit/2975683448aa78612f1f40a7d25a0da41df091bf))
44
+ * 修复 table 组件 sass 导入问题 ([238257e](https://github.com/sutras/sard-uniapp/commit/238257e1f7bf69c93e62688ebc7e11e8e1553e94))
36
45
 
37
46
 
38
47
 
@@ -41,7 +50,7 @@
41
50
 
42
51
  ### Features
43
52
 
44
- * tabbar-item 组件 icon 插槽新增 active 属性 ([0704e46](https://github.com/sutras/sard-uniapp/commit/0704e46cb1a87a27d62076bd962a3925086598e7))
53
+ * tabbar-item 组件 icon 插槽新增 active 属性 ([4ccd9cc](https://github.com/sutras/sard-uniapp/commit/4ccd9cce425b57e434943cc410a47e4d12c78d6e))
45
54
 
46
55
 
47
56
 
@@ -50,7 +59,7 @@
50
59
 
51
60
  ### Features
52
61
 
53
- * card 组件新增点击态 ([cf7fbde](https://github.com/sutras/sard-uniapp/commit/cf7fbde33998fa003765eee7761228896a7766db))
62
+ * card 组件新增点击态 ([0eef48e](https://github.com/sutras/sard-uniapp/commit/0eef48e9be15f12f43bc3b28c85ef86d0684c3e1))
54
63
 
55
64
 
56
65
 
@@ -59,7 +68,7 @@
59
68
 
60
69
  ### Features
61
70
 
62
- * tabs 等组件新增 change 事件, card 新增 click 事件 ([6c90a9e](https://github.com/sutras/sard-uniapp/commit/6c90a9e3d97864e66b4d5005947301fdfa4b9784))
71
+ * tabs 等组件新增 change 事件, card 新增 click 事件 ([20fa21c](https://github.com/sutras/sard-uniapp/commit/20fa21c6b8de0992959befe2971708743c9f3d01))
63
72
 
64
73
 
65
74
 
@@ -68,7 +77,7 @@
68
77
 
69
78
  ### Bug Fixes
70
79
 
71
- * 移除 crop-image 组件 toast 提示,新增button组件 inline 属性 ([7510f84](https://github.com/sutras/sard-uniapp/commit/7510f84d354a6b0cddd950815ad09a480882db7a))
80
+ * 移除 crop-image 组件 toast 提示,新增button组件 inline 属性 ([64e6474](https://github.com/sutras/sard-uniapp/commit/64e6474ca99b75cc95e99dfdd0d0ef91cac95322))
72
81
 
73
82
 
74
83
 
@@ -77,23 +86,23 @@
77
86
 
78
87
  ### Bug Fixes
79
88
 
80
- * **cascader:** 允许空字符串作为未选择初始值 ([c0073ec](https://github.com/sutras/sard-uniapp/commit/c0073ec8b3bc285443fca6c17b86dbdb7976ec08))
81
- * 修复 table 组件右边固定阴影显示问题 ([4e7869a](https://github.com/sutras/sard-uniapp/commit/4e7869a70f60d4f9d6f01c68fdc90a00080adad9))
82
- * 修复cascader在支付宝端的展示问题 ([e5ab136](https://github.com/sutras/sard-uniapp/commit/e5ab136da081fbcfc6a8f07d00482231cd7270fe))
83
- * 修复因uniapp会修改元素id导致获取不到元素的问题 ([10dbfe0](https://github.com/sutras/sard-uniapp/commit/10dbfe0adf49f32f85d6902c7a255b7a84d400fe))
89
+ * **cascader:** 允许空字符串作为未选择初始值 ([428b3c5](https://github.com/sutras/sard-uniapp/commit/428b3c58bb08fad50dc0e235757e480372ea9ffa))
90
+ * 修复 table 组件右边固定阴影显示问题 ([c6f0e88](https://github.com/sutras/sard-uniapp/commit/c6f0e887fdb5028d4f252790b01845e6be6dd59d))
91
+ * 修复cascader在支付宝端的展示问题 ([3e713ac](https://github.com/sutras/sard-uniapp/commit/3e713ac2d2399e3e998a87cc2541b73c9137c836))
92
+ * 修复因uniapp会修改元素id导致获取不到元素的问题 ([45b8070](https://github.com/sutras/sard-uniapp/commit/45b80701b829ddd1aa00f0dcbb031da6eab01742))
84
93
 
85
94
 
86
95
  ### Features
87
96
 
88
- * button 组件新增 block 属性 ([bb4d39b](https://github.com/sutras/sard-uniapp/commit/bb4d39b0dd417273fcf9fac3f132a26332d6bd8d))
89
- * grid 组件新增 badge 相关属性 ([0c33247](https://github.com/sutras/sard-uniapp/commit/0c3324750a1ee48a9f2801e7e20defeddad70003))
90
- * navbar组件新增属性,修改样式 ([dc4e747](https://github.com/sutras/sard-uniapp/commit/dc4e7478dedeb4aaecb659b99eb9ecc9acfba2e6))
91
- * 新增 crop-image 组件 ([5b89f0e](https://github.com/sutras/sard-uniapp/commit/5b89f0ea3b5f09e28534222e4eecd9726ad03b97))
92
- * 新增 ScrollSpy 组件 ([d4c0e92](https://github.com/sutras/sard-uniapp/commit/d4c0e92d2a9aab60687f08b384937f5276e53c5e))
93
- * 新增 Sidebar 组件 ([4c1487a](https://github.com/sutras/sard-uniapp/commit/4c1487a9fa77f01ea0be962d64c49167afb29ece))
94
- * 新增 signature 组件 ([04b7bf8](https://github.com/sutras/sard-uniapp/commit/04b7bf84149c78ad336f0a23eac8a60b0f5b2396))
95
- * 新增 status-bar 组件 ([49339d7](https://github.com/sutras/sard-uniapp/commit/49339d79738e829a34edc4a83a237ed3814e24c1))
96
- * 新增 zIndex 全局配置 ([77802cd](https://github.com/sutras/sard-uniapp/commit/77802cd2c772bd3c6c67e8a09254a1e0b501cece))
97
+ * button 组件新增 block 属性 ([6b59144](https://github.com/sutras/sard-uniapp/commit/6b59144df3b15a12f9d4d19c711070a7f6d823a7))
98
+ * grid 组件新增 badge 相关属性 ([4f697a3](https://github.com/sutras/sard-uniapp/commit/4f697a39debe00d14397c3a6db56bf1d661a101e))
99
+ * navbar组件新增属性,修改样式 ([e6039b4](https://github.com/sutras/sard-uniapp/commit/e6039b4b1835a4062c9ce0a173e4666a8eb4fcc6))
100
+ * 新增 crop-image 组件 ([9bd948a](https://github.com/sutras/sard-uniapp/commit/9bd948a8dafce3d3d3c11200e4cbba3d5c19466c))
101
+ * 新增 ScrollSpy 组件 ([cefa8b4](https://github.com/sutras/sard-uniapp/commit/cefa8b429b2be108ef01f2dbf7edfafe90203dc0))
102
+ * 新增 Sidebar 组件 ([608ec0d](https://github.com/sutras/sard-uniapp/commit/608ec0da2f48e537d40b3c098880ebbba8ac2e2b))
103
+ * 新增 signature 组件 ([f75489d](https://github.com/sutras/sard-uniapp/commit/f75489d835c502f97218935a6f26f54f05ba6b0a))
104
+ * 新增 status-bar 组件 ([e005b0c](https://github.com/sutras/sard-uniapp/commit/e005b0c1a5d7ec1725a47d5f21f24b0652d27de9))
105
+ * 新增 zIndex 全局配置 ([7945ae9](https://github.com/sutras/sard-uniapp/commit/7945ae93a0f83be4cf9a090584e2235a58401f05))
97
106
 
98
107
 
99
108
 
@@ -102,7 +111,7 @@
102
111
 
103
112
  ### Bug Fixes
104
113
 
105
- * 修复tree组件递归引用问题 ([25c48b7](https://github.com/sutras/sard-uniapp/commit/25c48b7d57fd178ea9a08688757da41b1394d297))
114
+ * 修复tree组件递归引用问题 ([0a789c6](https://github.com/sutras/sard-uniapp/commit/0a789c612bb6038d23e95bb3dbc154a4be1dc808))
106
115
 
107
116
 
108
117
 
@@ -111,7 +120,7 @@
111
120
 
112
121
  ### Bug Fixes
113
122
 
114
- * 修复日期时间选择器min, max联动问题 ([81d9256](https://github.com/sutras/sard-uniapp/commit/81d9256c872b5711664abf1e8ff75de3b146f3da))
123
+ * 修复日期时间选择器min, max联动问题 ([fd6c351](https://github.com/sutras/sard-uniapp/commit/fd6c3511154ae736c471013d68f8addc74d06d2f))
115
124
 
116
125
 
117
126
 
@@ -120,12 +129,12 @@
120
129
 
121
130
  ### Bug Fixes
122
131
 
123
- * **datetime-picker:** 修改min, max属性后更新列数据 ([f58fef5](https://github.com/sutras/sard-uniapp/commit/f58fef592dd1102032aa999c5dbf887b8e25189d))
132
+ * **datetime-picker:** 修改min, max属性后更新列数据 ([9b6b3f4](https://github.com/sutras/sard-uniapp/commit/9b6b3f4316028cd6453ce9a8b126d01e5d8473f8))
124
133
 
125
134
 
126
135
  ### Features
127
136
 
128
- * 新增 DatetimeRangePicker 和 DatetimeRangePickerInput 组件 ([7cf3eeb](https://github.com/sutras/sard-uniapp/commit/7cf3eebbd8ce5f1aa185a4a55425607ba8a4bbdc))
137
+ * 新增 DatetimeRangePicker 和 DatetimeRangePickerInput 组件 ([8b3d6ee](https://github.com/sutras/sard-uniapp/commit/8b3d6ee7e844ebbe78f3b7232bc7a7e9ace27ecd))
129
138
 
130
139
 
131
140
 
@@ -134,7 +143,7 @@
134
143
 
135
144
  ### Bug Fixes
136
145
 
137
- * 使用 [@import](https://github.com/import) 导入scss, 兼容mp-alipay ([1830610](https://github.com/sutras/sard-uniapp/commit/1830610e17b29fd5f7e362d5c04a0ebcbb1ac772))
146
+ * 使用 [@import](https://github.com/import) 导入scss, 兼容mp-alipay ([3e1b7b6](https://github.com/sutras/sard-uniapp/commit/3e1b7b69ed73f1b3421b2082bd25ed8df1f98a49))
138
147
 
139
148
 
140
149
 
@@ -143,8 +152,8 @@
143
152
 
144
153
  ### Bug Fixes
145
154
 
146
- * 修复 cascader, cascader-input 组件 ([e964e40](https://github.com/sutras/sard-uniapp/commit/e964e400452e873713a95b9a07cbe4e1459113cc))
147
- * 确保 DatetimePickerInput value 格式化, 移除sass警告 ([e8e326d](https://github.com/sutras/sard-uniapp/commit/e8e326d9db1b96bd542bff5a1a60276083d53fba))
155
+ * 修复 cascader, cascader-input 组件 ([1ac846d](https://github.com/sutras/sard-uniapp/commit/1ac846d66bc91b5b7ed6bb5144e41b5e5082b58e))
156
+ * 确保 DatetimePickerInput value 格式化, 移除sass警告 ([0ded8f9](https://github.com/sutras/sard-uniapp/commit/0ded8f9e33a176ddd5f0f2c5dbd90a2c79dfc163))
148
157
 
149
158
 
150
159
 
@@ -153,7 +162,7 @@
153
162
 
154
163
  ### Bug Fixes
155
164
 
156
- * 修复全局配置问题 ([dcd319c](https://github.com/sutras/sard-uniapp/commit/dcd319c51453c6aa7c13dfedfbc2bf47eb3bb409))
165
+ * 修复全局配置问题 ([b05a52e](https://github.com/sutras/sard-uniapp/commit/b05a52e80e2fa14a4851c3fddfb64506f04325a7))
157
166
 
158
167
 
159
168
 
@@ -162,7 +171,7 @@
162
171
 
163
172
  ### Features
164
173
 
165
- * 新增 Space 组件, 新增 Dialog 组件的按钮配置, 新增 valueFormat 属性, 修复已知问题 ([7648ea6](https://github.com/sutras/sard-uniapp/commit/7648ea65937c5af9a2b6a8cfa9c5b70ade14ef65))
174
+ * 新增 Space 组件, 新增 Dialog 组件的按钮配置, 新增 valueFormat 属性, 修复已知问题 ([69825ef](https://github.com/sutras/sard-uniapp/commit/69825efbc99a2767acb314fb8763f7f015d3ee3b))
166
175
 
167
176
 
168
177
 
@@ -171,7 +180,7 @@
171
180
 
172
181
  ### Features
173
182
 
174
- * 表单组件新增change事件 ([58f2fa8](https://github.com/sutras/sard-uniapp/commit/58f2fa88e59f4b28b23592cf9ff17e2353a9ae37))
183
+ * 表单组件新增change事件 ([cc56e51](https://github.com/sutras/sard-uniapp/commit/cc56e5121e825e65ee573291ed07df18ad9d2d49))
175
184
 
176
185
 
177
186
 
@@ -180,7 +189,7 @@
180
189
 
181
190
  ### Bug Fixes
182
191
 
183
- * 修复qrcode 在app端报错的问题 ([c74cad5](https://github.com/sutras/sard-uniapp/commit/c74cad5cbe7dd733843713fd3500e15236719583))
192
+ * 修复qrcode 在app端报错的问题 ([486a95f](https://github.com/sutras/sard-uniapp/commit/486a95fb0fa14acdb3df96958216dbca84d148c4))
184
193
 
185
194
 
186
195
 
@@ -189,7 +198,7 @@
189
198
 
190
199
  ### Features
191
200
 
192
- * 新增表格组件 ([f2d0db6](https://github.com/sutras/sard-uniapp/commit/f2d0db61ab595a281590f9b840c25beea6dd4fe7))
201
+ * 新增表格组件 ([6649af4](https://github.com/sutras/sard-uniapp/commit/6649af4096b07d8b77d6fcd1f70abe8562cacd8b))
193
202
 
194
203
 
195
204
 
@@ -198,7 +207,7 @@
198
207
 
199
208
  ### Bug Fixes
200
209
 
201
- * **PopoutInput:** 只读时隐藏箭头 ([0efcdf7](https://github.com/sutras/sard-uniapp/commit/0efcdf77f39778521b8fe7d2b66c84b7a88496c5))
210
+ * **PopoutInput:** 只读时隐藏箭头 ([28f29ac](https://github.com/sutras/sard-uniapp/commit/28f29ac4274f8d74e0f61bf62f04fcc1d8b4f64d))
202
211
 
203
212
 
204
213
 
@@ -207,7 +216,7 @@
207
216
 
208
217
  ### Bug Fixes
209
218
 
210
- * 修复局部导入组件未注册问题 ([5337b11](https://github.com/sutras/sard-uniapp/commit/5337b119d15b77db76be13c7e33a10cdc4b02d7d))
219
+ * 修复局部导入组件未注册问题 ([225ff82](https://github.com/sutras/sard-uniapp/commit/225ff82510cd0c41fe932d0207bcfa2e824e9478))
211
220
 
212
221
 
213
222
 
@@ -216,7 +225,7 @@
216
225
 
217
226
  ### Features
218
227
 
219
- * 按钮添加小程序能力 ([c395f86](https://github.com/sutras/sard-uniapp/commit/c395f86308c05ab2a515aa1833b65e87969cf537))
228
+ * 按钮添加小程序能力 ([a887361](https://github.com/sutras/sard-uniapp/commit/a887361fd35e758b271f23c3ad6a6d0404b19969))
220
229
 
221
230
 
222
231
 
@@ -225,7 +234,7 @@
225
234
 
226
235
  ### Bug Fixes
227
236
 
228
- * 修复 input 获取焦点时的光标位置 ([b952ac3](https://github.com/sutras/sard-uniapp/commit/b952ac3ad5fad3a8c824f3613e6b3b69919bc6b1))
237
+ * 修复 input 获取焦点时的光标位置 ([820f248](https://github.com/sutras/sard-uniapp/commit/820f24898f47ff99c414d39f10ab5b9fcf05678b))
229
238
 
230
239
 
231
240
 
@@ -234,7 +243,7 @@
234
243
 
235
244
  ### Features
236
245
 
237
- * 新增全局配置 ([c426117](https://github.com/sutras/sard-uniapp/commit/c4261171903d56740920e6930693a797cbb6309f))
246
+ * 新增全局配置 ([dbc6444](https://github.com/sutras/sard-uniapp/commit/dbc64443ec9528cc039be6631be927fc30592967))
238
247
 
239
248
 
240
249
 
@@ -243,8 +252,8 @@
243
252
 
244
253
  ### Bug Fixes
245
254
 
246
- * count-down stop timer before unmount ([be96b3d](https://github.com/sutras/sard-uniapp/commit/be96b3da62544250a45031f7f1e68d42652a37de))
247
- * fix type of 'confirm-hold' in sard-input ([1ac21df](https://github.com/sutras/sard-uniapp/commit/1ac21dfff5d01a83ab1e0205256c36fb53c1b821))
255
+ * count-down stop timer before unmount ([5a0feb2](https://github.com/sutras/sard-uniapp/commit/5a0feb243384bd21022f930412161af36bd58ae1))
256
+ * fix type of 'confirm-hold' in sard-input ([fd6209d](https://github.com/sutras/sard-uniapp/commit/fd6209d31a75a72d60c04cb7da927ca36b211594))
248
257
 
249
258
 
250
259
 
@@ -253,7 +262,7 @@
253
262
 
254
263
  ### Features
255
264
 
256
- * 新增Tree, Timeline, BackTop 组件 close [#36](https://github.com/sutras/sard-uniapp/issues/36), close [#41](https://github.com/sutras/sard-uniapp/issues/41), close 43 ([4b7a222](https://github.com/sutras/sard-uniapp/commit/4b7a222a55ca25e85026a9028717c61ea8b2bbea))
265
+ * 新增Tree, Timeline, BackTop 组件 close [#36](https://github.com/sutras/sard-uniapp/issues/36), close [#41](https://github.com/sutras/sard-uniapp/issues/41), close 43 ([f0a0504](https://github.com/sutras/sard-uniapp/commit/f0a0504f03a8eac84f926e2e01a61bc31de59057))
257
266
 
258
267
 
259
268
 
@@ -262,7 +271,7 @@
262
271
 
263
272
  ### Features
264
273
 
265
- * 新增Fab, FloatingBubble 组件, 优化构建流程 close [#39](https://github.com/sutras/sard-uniapp/issues/39) ([d028d78](https://github.com/sutras/sard-uniapp/commit/d028d78f46f6966b83f823b9287bfcce02ba47a9))
274
+ * 新增Fab, FloatingBubble 组件, 优化构建流程 close [#39](https://github.com/sutras/sard-uniapp/issues/39) ([fe28b0a](https://github.com/sutras/sard-uniapp/commit/fe28b0aeb3a60f8b4d3f74a7d16ceb0fb4ccf295))
266
275
 
267
276
 
268
277
 
@@ -271,7 +280,7 @@
271
280
 
272
281
  ### Features
273
282
 
274
- * search组件新增clear, focus, blur事件 ([05dc641](https://github.com/sutras/sard-uniapp/commit/05dc641947e83a6d9e9c92b46cfc33135116eb22))
283
+ * search组件新增clear, focus, blur事件 ([5c4f9fe](https://github.com/sutras/sard-uniapp/commit/5c4f9febfc320acc38147e37779e964825f88692))
275
284
 
276
285
 
277
286
 
@@ -280,7 +289,7 @@
280
289
 
281
290
  ### Features
282
291
 
283
- * add qrcode ([8d5d8ba](https://github.com/sutras/sard-uniapp/commit/8d5d8ba50b250fbe1bb76da84e4368aae2276b4d))
292
+ * add qrcode ([4c74b1e](https://github.com/sutras/sard-uniapp/commit/4c74b1e6c0618178699d78b7b39c6a66ac2ecce4))
284
293
 
285
294
 
286
295
 
@@ -289,7 +298,7 @@
289
298
 
290
299
  ### Features
291
300
 
292
- * 新增radio-input, checkbox-input, alert组件 ([a2d24fc](https://github.com/sutras/sard-uniapp/commit/a2d24fc080337df2f39d6abdc887517adf8428c1))
301
+ * 新增radio-input, checkbox-input, alert组件 ([4d2198e](https://github.com/sutras/sard-uniapp/commit/4d2198ec97915630d025ed820fcedc5978e1748d))
293
302
 
294
303
 
295
304
 
@@ -298,8 +307,8 @@
298
307
 
299
308
  ### Bug Fixes
300
309
 
301
- * lwa copy ([7dc350a](https://github.com/sutras/sard-uniapp/commit/7dc350a09f3d10e4bf9f08733e70e1ec73d15b26))
302
- * 修复pnpm非扁平化依赖包下lwa依赖问题 close [#32](https://github.com/sutras/sard-uniapp/issues/32) ([5868e16](https://github.com/sutras/sard-uniapp/commit/5868e16587e8664705789e2e791c264f2a7d22f5))
310
+ * lwa copy ([d2ecc78](https://github.com/sutras/sard-uniapp/commit/d2ecc788d364440f3a2b396b6222f7df96e40fa0))
311
+ * 修复pnpm非扁平化依赖包下lwa依赖问题 close [#32](https://github.com/sutras/sard-uniapp/issues/32) ([904e6bd](https://github.com/sutras/sard-uniapp/commit/904e6bd15fc8d6a8fe6b329f26509cbbdc975700))
303
312
 
304
313
 
305
314
 
@@ -308,7 +317,7 @@
308
317
 
309
318
  ### Features
310
319
 
311
- * 新增Marquee, LuckyDraw, CountTo组件 ([61db992](https://github.com/sutras/sard-uniapp/commit/61db992aea95658b714ae4182526dff10ad54491))
320
+ * 新增Marquee, LuckyDraw, CountTo组件 ([ce825ae](https://github.com/sutras/sard-uniapp/commit/ce825ae7cac423c75bcc036bf59916af5bd1ed8b))
312
321
 
313
322
 
314
323
 
@@ -317,7 +326,7 @@
317
326
 
318
327
  ### Bug Fixes
319
328
 
320
- * 修复表单内组件的禁用和只读问题 close [#27](https://github.com/sutras/sard-uniapp/issues/27) ([eee674c](https://github.com/sutras/sard-uniapp/commit/eee674c156687b25893cd0456b7050440ea1ad4d))
329
+ * 修复表单内组件的禁用和只读问题 close [#27](https://github.com/sutras/sard-uniapp/issues/27) ([733f010](https://github.com/sutras/sard-uniapp/commit/733f010348cfb48e4d0c9470c7b9d977f082809c))
321
330
 
322
331
 
323
332
 
@@ -326,7 +335,7 @@
326
335
 
327
336
  ### Bug Fixes
328
337
 
329
- * 修复 notify 组件显示问题、优化文档 ([7ed66fd](https://github.com/sutras/sard-uniapp/commit/7ed66fd09870b24d485fd82ed6f152373b665f3c))
338
+ * 修复 notify 组件显示问题、优化文档 ([34f09a6](https://github.com/sutras/sard-uniapp/commit/34f09a662ebceb1f610eb658a9b2089ee31290f7))
330
339
 
331
340
 
332
341
 
@@ -335,7 +344,7 @@
335
344
 
336
345
  ### Bug Fixes
337
346
 
338
- * 修复toast&dialog不显示问题 ([9e49c67](https://github.com/sutras/sard-uniapp/commit/9e49c6772e7d0cff8976133b1dc05fa69b51d7ea))
347
+ * 修复toast&dialog不显示问题 ([37255c5](https://github.com/sutras/sard-uniapp/commit/37255c5994e5416b41997f7b336ec13593fafdb7))
339
348
 
340
349
 
341
350
 
@@ -344,7 +353,7 @@
344
353
 
345
354
  ### Bug Fixes
346
355
 
347
- * 修复input组件字数统计, dialog&toast组件不能显示的问题 close [#26](https://github.com/sutras/sard-uniapp/issues/26),[#24](https://github.com/sutras/sard-uniapp/issues/24) ([bb9ea25](https://github.com/sutras/sard-uniapp/commit/bb9ea253bde0963d3ff1a4f76eee72f5b0f57d0a))
356
+ * 修复input组件字数统计, dialog&toast组件不能显示的问题 close [#26](https://github.com/sutras/sard-uniapp/issues/26),[#24](https://github.com/sutras/sard-uniapp/issues/24) ([fb31059](https://github.com/sutras/sard-uniapp/commit/fb31059cb4937cc4d2e47433905d485a38db92c4))
348
357
 
349
358
 
350
359
 
@@ -353,7 +362,7 @@
353
362
 
354
363
  ### Bug Fixes
355
364
 
356
- * 修复下拉刷新组件有时不触发的问题 close [#18](https://github.com/sutras/sard-uniapp/issues/18) ([3bbe3a9](https://github.com/sutras/sard-uniapp/commit/3bbe3a9986a2adccf7c067d73a6f2f30251e3532))
365
+ * 修复下拉刷新组件有时不触发的问题 close [#18](https://github.com/sutras/sard-uniapp/issues/18) ([5ec5044](https://github.com/sutras/sard-uniapp/commit/5ec5044ffd58238651d380cb7d4debeea3bf6d80))
357
366
 
358
367
 
359
368
 
@@ -362,7 +371,7 @@
362
371
 
363
372
  ### Bug Fixes
364
373
 
365
- * 移除属性选择器 close [#23](https://github.com/sutras/sard-uniapp/issues/23) ([89ef3fc](https://github.com/sutras/sard-uniapp/commit/89ef3fcc72ec0f43ccd55cabb0dc013ebcbb8041))
374
+ * 移除属性选择器 close [#23](https://github.com/sutras/sard-uniapp/issues/23) ([b3c0450](https://github.com/sutras/sard-uniapp/commit/b3c045022188366be5552bc84170dba2a432fd56))
366
375
 
367
376
 
368
377
 
@@ -371,8 +380,8 @@
371
380
 
372
381
  ### Bug Fixes
373
382
 
374
- * 修复upload-preview的image在h5环境下,没有宽度导致图片显示不全 ([e155724](https://github.com/sutras/sard-uniapp/commit/e1557244a1f708dbbb7732302c0dfe36b65c1776))
375
- * 修复upload组件图片预览问题 ([dd69007](https://github.com/sutras/sard-uniapp/commit/dd69007200c0b97ba92392d2b732836f41f77a05))
383
+ * 修复upload-preview的image在h5环境下,没有宽度导致图片显示不全 ([71383d3](https://github.com/sutras/sard-uniapp/commit/71383d3cd338796aa9118613e993fa89f20e9897))
384
+ * 修复upload组件图片预览问题 ([0552838](https://github.com/sutras/sard-uniapp/commit/0552838b427bdc58c82ae21cb70e73b7cc9b743c))
376
385
 
377
386
 
378
387
 
@@ -381,7 +390,7 @@
381
390
 
382
391
  ### Bug Fixes
383
392
 
384
- * 修复input组件字数统计问题 close [#19](https://github.com/sutras/sard-uniapp/issues/19) ([52160b3](https://github.com/sutras/sard-uniapp/commit/52160b32c38c2c02e66e2a2db0b28585a6d5a73f))
393
+ * 修复input组件字数统计问题 close [#19](https://github.com/sutras/sard-uniapp/issues/19) ([4a63701](https://github.com/sutras/sard-uniapp/commit/4a63701223abe8aee49efbbf9212ec8ce8358dae))
385
394
 
386
395
 
387
396
 
@@ -394,7 +403,7 @@
394
403
 
395
404
  ### Features
396
405
 
397
- * 新增load-more组件, stepper组件新增size属性 ([f1e1c79](https://github.com/sutras/sard-uniapp/commit/f1e1c793939f51e94724d009ea07384630b6420b))
406
+ * 新增load-more组件, stepper组件新增size属性 ([d8184c7](https://github.com/sutras/sard-uniapp/commit/d8184c7cc3ad7eb98b86511d3b1ec5b1cd1f3453))
398
407
 
399
408
 
400
409
 
@@ -403,7 +412,7 @@
403
412
 
404
413
  ### Features
405
414
 
406
- * 新增pull-down-refresh组件, slider组件新增时间, 重构loading组件, 其他优化 ([802816a](https://github.com/sutras/sard-uniapp/commit/802816aa4baa87279bf98bc3effe7139bcdfe7ed))
415
+ * 新增pull-down-refresh组件, slider组件新增时间, 重构loading组件, 其他优化 ([c6dc6e4](https://github.com/sutras/sard-uniapp/commit/c6dc6e41c49a84e85310d64efd1889cd9a18aa0a))
407
416
 
408
417
 
409
418
 
@@ -412,7 +421,7 @@
412
421
 
413
422
  ### Bug Fixes
414
423
 
415
- * 修复打包组件缺少文件的问题 ([21c032f](https://github.com/sutras/sard-uniapp/commit/21c032f90c869f920beba95d668bbd22f19cf6b5))
424
+ * 修复打包组件缺少文件的问题 ([915a6af](https://github.com/sutras/sard-uniapp/commit/915a6af9619a0c5fdafb8477bc96fd71ceabd512))
416
425
 
417
426
 
418
427
 
@@ -421,7 +430,7 @@
421
430
 
422
431
  ### Bug Fixes
423
432
 
424
- * **sard-uniapp:** 修复打包缺少tag组件的bug ([c78f26c](https://github.com/sutras/sard-uniapp/commit/c78f26c149b988e05d34254cbf0a884b8a05fc76))
433
+ * **sard-uniapp:** 修复打包缺少tag组件的bug ([663ffde](https://github.com/sutras/sard-uniapp/commit/663ffdeb7b5cbdc527ee89e503cf1787a7ff2097))
425
434
 
426
435
 
427
436
 
package/README.md CHANGED
@@ -112,7 +112,7 @@ npm run release
112
112
  ## 修复问题流程
113
113
 
114
114
  - 修复问题
115
- - 测试
115
+ - 测试 `npm run test`
116
116
  - 修改版本号
117
117
  - 暂存 `git add .`
118
118
  - 提交 `git commit -m 'fix: '`
@@ -54,8 +54,8 @@ export default _defineComponent({
54
54
  const getRect = () => {
55
55
  return getBoundingClientRect(`.${tabId}`, instance);
56
56
  };
57
- const select = () => {
58
- context.select(props.name);
57
+ const select = (initial) => {
58
+ context.select(props.name, initial);
59
59
  };
60
60
  const onClick = (event) => {
61
61
  emit("click", event);
@@ -69,7 +69,7 @@ export default _defineComponent({
69
69
  });
70
70
  if (isCurrent.value) {
71
71
  nextTick(() => {
72
- select();
72
+ select(true);
73
73
  });
74
74
  }
75
75
  });
@@ -40,7 +40,7 @@ export interface TabEmits {
40
40
  }
41
41
  export interface TabContext {
42
42
  current: any;
43
- select: (name: string | number, rect?: NodeRect) => void;
43
+ select: (name: string | number, initial?: boolean) => void;
44
44
  register: (name: string | number, expose: {
45
45
  getRect: () => Promise<NodeRect>;
46
46
  }) => void;
@@ -146,11 +146,13 @@ export default _defineComponent({
146
146
  unregister(name) {
147
147
  delete tabMap[name];
148
148
  },
149
- select(name) {
149
+ select(name, initial) {
150
150
  innerCurrent.value = name;
151
- emit("update:current", name);
152
- emit("change", name);
153
151
  scrollToTabQueue.value = name;
152
+ if (!initial) {
153
+ emit("update:current", name);
154
+ emit("change", name);
155
+ }
154
156
  }
155
157
  })
156
158
  );
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "id": "sard-uniapp",
3
3
  "name": "sard-uniapp",
4
4
  "displayName": "sard-uniapp",
5
- "version": "1.13.2",
5
+ "version": "1.13.3",
6
6
  "description": "sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库",
7
7
  "main": "index.js",
8
8
  "scripts": {
@@ -75,26 +75,27 @@
75
75
  "@commitlint/cli": "^17.8.1",
76
76
  "@commitlint/config-conventional": "^17.8.1",
77
77
  "@commitlint/prompt-cli": "^17.8.1",
78
- "@dcloudio/types": "^3.4.14",
79
- "@dcloudio/uni-app": "3.0.0-4050620250312001",
80
- "@dcloudio/uni-app-harmony": "3.0.0-4050620250312001",
81
- "@dcloudio/uni-app-plus": "3.0.0-4050620250312001",
82
- "@dcloudio/uni-automator": "3.0.0-4050620250312001",
83
- "@dcloudio/uni-cli-shared": "3.0.0-4050620250312001",
84
- "@dcloudio/uni-components": "3.0.0-4050620250312001",
85
- "@dcloudio/uni-h5": "3.0.0-4050620250312001",
86
- "@dcloudio/uni-mp-alipay": "3.0.0-4050620250312001",
87
- "@dcloudio/uni-mp-baidu": "3.0.0-4050620250312001",
88
- "@dcloudio/uni-mp-jd": "3.0.0-4050620250312001",
89
- "@dcloudio/uni-mp-kuaishou": "3.0.0-4050620250312001",
90
- "@dcloudio/uni-mp-lark": "3.0.0-4050620250312001",
91
- "@dcloudio/uni-mp-qq": "3.0.0-4050620250312001",
92
- "@dcloudio/uni-mp-toutiao": "3.0.0-4050620250312001",
93
- "@dcloudio/uni-mp-weixin": "3.0.0-4050620250312001",
94
- "@dcloudio/uni-mp-xhs": "3.0.0-4050620250312001",
95
- "@dcloudio/uni-quickapp-webview": "3.0.0-4050620250312001",
96
- "@dcloudio/uni-stacktracey": "3.0.0-4050620250312001",
97
- "@dcloudio/vite-plugin-uni": "3.0.0-4050620250312001",
78
+ "@dcloudio/types": "^3.4.8",
79
+ "@dcloudio/uni-app": "3.0.0-4060420250429001",
80
+ "@dcloudio/uni-app-harmony": "3.0.0-4060420250429001",
81
+ "@dcloudio/uni-app-plus": "3.0.0-4060420250429001",
82
+ "@dcloudio/uni-automator": "3.0.0-4060420250429001",
83
+ "@dcloudio/uni-cli-shared": "3.0.0-4060420250429001",
84
+ "@dcloudio/uni-components": "3.0.0-4060420250429001",
85
+ "@dcloudio/uni-h5": "3.0.0-4060420250429001",
86
+ "@dcloudio/uni-mp-alipay": "3.0.0-4060420250429001",
87
+ "@dcloudio/uni-mp-baidu": "3.0.0-4060420250429001",
88
+ "@dcloudio/uni-mp-harmony": "3.0.0-4060420250429001",
89
+ "@dcloudio/uni-mp-jd": "3.0.0-4060420250429001",
90
+ "@dcloudio/uni-mp-kuaishou": "3.0.0-4060420250429001",
91
+ "@dcloudio/uni-mp-lark": "3.0.0-4060420250429001",
92
+ "@dcloudio/uni-mp-qq": "3.0.0-4060420250429001",
93
+ "@dcloudio/uni-mp-toutiao": "3.0.0-4060420250429001",
94
+ "@dcloudio/uni-mp-weixin": "3.0.0-4060420250429001",
95
+ "@dcloudio/uni-mp-xhs": "3.0.0-4060420250429001",
96
+ "@dcloudio/uni-quickapp-webview": "3.0.0-4060420250429001",
97
+ "@dcloudio/uni-stacktracey": "3.0.0-4060420250429001",
98
+ "@dcloudio/vite-plugin-uni": "3.0.0-4060420250429001",
98
99
  "@esbuild/darwin-x64": "0.20.2",
99
100
  "@gunny/perf-test": "^0.1.3",
100
101
  "@rollup/rollup-darwin-x64": "^4.24.0",
@@ -105,7 +106,7 @@
105
106
  "@typescript-eslint/parser": "^5.62.0",
106
107
  "@vitejs/plugin-vue": "^4.6.2",
107
108
  "@vitejs/plugin-vue-jsx": "^3.1.0",
108
- "@vue/runtime-core": "^3.5.13",
109
+ "@vue/runtime-core": "^3.4.21",
109
110
  "@vue/test-utils": "^2.4.6",
110
111
  "consola": "^3.2.3",
111
112
  "eslint": "^9.16.0",
@@ -121,18 +122,18 @@
121
122
  "lodash-es": "^4.17.21",
122
123
  "prettier": "^2.8.8",
123
124
  "region-data": "^1.2.3",
124
- "sard-cli": "^1.1.4",
125
+ "sard-cli": "^1.1.6",
125
126
  "sass": "^1.69.7",
126
127
  "tel-area-code": "^1.1.0",
127
128
  "ts-custom-error": "^3.3.1",
128
129
  "tsx": "^4.19.2",
129
130
  "typescript": "~5.6.2",
130
131
  "typescript-eslint": "^8.17.0",
131
- "vite": "5.2.8",
132
+ "vite": "6.3.5",
132
133
  "vite-plugin-eslint": "^1.8.1",
133
- "vitest": "^1.6.0",
134
- "vue": "^3.5.13",
135
- "vue-i18n": "^9.14.2",
134
+ "vitest": "^3.1.3",
135
+ "vue": "^3.4.21",
136
+ "vue-i18n": "^9.14.4",
136
137
  "vue-tsc": "^2.0.29"
137
138
  },
138
139
  "author": "wuzhitao",