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 +72 -63
- package/README.md +1 -1
- package/components/tab/tab.vue +3 -3
- package/components/tabs/common.d.ts +1 -1
- package/components/tabs/tabs.vue +5 -3
- package/package.json +28 -27
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 时显示问题 ([
|
|
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显示问题 ([
|
|
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 功能 ([
|
|
25
|
-
* 新增 divider 组件 ([
|
|
26
|
-
* 新增 FloatingPanel 组件 ([
|
|
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 导入问题 ([
|
|
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 属性 ([
|
|
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 组件新增点击态 ([
|
|
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 事件 ([
|
|
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 属性 ([
|
|
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:** 允许空字符串作为未选择初始值 ([
|
|
81
|
-
* 修复 table 组件右边固定阴影显示问题 ([
|
|
82
|
-
* 修复cascader在支付宝端的展示问题 ([
|
|
83
|
-
* 修复因uniapp会修改元素id导致获取不到元素的问题 ([
|
|
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 属性 ([
|
|
89
|
-
* grid 组件新增 badge 相关属性 ([
|
|
90
|
-
* navbar组件新增属性,修改样式 ([
|
|
91
|
-
* 新增 crop-image 组件 ([
|
|
92
|
-
* 新增 ScrollSpy 组件 ([
|
|
93
|
-
* 新增 Sidebar 组件 ([
|
|
94
|
-
* 新增 signature 组件 ([
|
|
95
|
-
* 新增 status-bar 组件 ([
|
|
96
|
-
* 新增 zIndex 全局配置 ([
|
|
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组件递归引用问题 ([
|
|
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联动问题 ([
|
|
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属性后更新列数据 ([
|
|
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 组件 ([
|
|
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 ([
|
|
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 组件 ([
|
|
147
|
-
* 确保 DatetimePickerInput value 格式化, 移除sass警告 ([
|
|
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
|
-
* 修复全局配置问题 ([
|
|
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 属性, 修复已知问题 ([
|
|
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事件 ([
|
|
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端报错的问题 ([
|
|
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
|
-
* 新增表格组件 ([
|
|
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:** 只读时隐藏箭头 ([
|
|
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
|
-
* 修复局部导入组件未注册问题 ([
|
|
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
|
-
* 按钮添加小程序能力 ([
|
|
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 获取焦点时的光标位置 ([
|
|
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
|
-
* 新增全局配置 ([
|
|
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 ([
|
|
247
|
-
* fix type of 'confirm-hold' in sard-input ([
|
|
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 ([
|
|
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) ([
|
|
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事件 ([
|
|
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 ([
|
|
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组件 ([
|
|
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 ([
|
|
302
|
-
* 修复pnpm非扁平化依赖包下lwa依赖问题 close [#32](https://github.com/sutras/sard-uniapp/issues/32) ([
|
|
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组件 ([
|
|
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) ([
|
|
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 组件显示问题、优化文档 ([
|
|
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不显示问题 ([
|
|
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) ([
|
|
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) ([
|
|
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) ([
|
|
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环境下,没有宽度导致图片显示不全 ([
|
|
375
|
-
* 修复upload组件图片预览问题 ([
|
|
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) ([
|
|
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属性 ([
|
|
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组件, 其他优化 ([
|
|
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
|
-
* 修复打包组件缺少文件的问题 ([
|
|
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 ([
|
|
433
|
+
* **sard-uniapp:** 修复打包缺少tag组件的bug ([663ffde](https://github.com/sutras/sard-uniapp/commit/663ffdeb7b5cbdc527ee89e503cf1787a7ff2097))
|
|
425
434
|
|
|
426
435
|
|
|
427
436
|
|
package/README.md
CHANGED
package/components/tab/tab.vue
CHANGED
|
@@ -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,
|
|
43
|
+
select: (name: string | number, initial?: boolean) => void;
|
|
44
44
|
register: (name: string | number, expose: {
|
|
45
45
|
getRect: () => Promise<NodeRect>;
|
|
46
46
|
}) => void;
|
package/components/tabs/tabs.vue
CHANGED
|
@@ -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.
|
|
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.
|
|
79
|
-
"@dcloudio/uni-app": "3.0.0-
|
|
80
|
-
"@dcloudio/uni-app-harmony": "3.0.0-
|
|
81
|
-
"@dcloudio/uni-app-plus": "3.0.0-
|
|
82
|
-
"@dcloudio/uni-automator": "3.0.0-
|
|
83
|
-
"@dcloudio/uni-cli-shared": "3.0.0-
|
|
84
|
-
"@dcloudio/uni-components": "3.0.0-
|
|
85
|
-
"@dcloudio/uni-h5": "3.0.0-
|
|
86
|
-
"@dcloudio/uni-mp-alipay": "3.0.0-
|
|
87
|
-
"@dcloudio/uni-mp-baidu": "3.0.0-
|
|
88
|
-
"@dcloudio/uni-mp-
|
|
89
|
-
"@dcloudio/uni-mp-
|
|
90
|
-
"@dcloudio/uni-mp-
|
|
91
|
-
"@dcloudio/uni-mp-
|
|
92
|
-
"@dcloudio/uni-mp-
|
|
93
|
-
"@dcloudio/uni-mp-
|
|
94
|
-
"@dcloudio/uni-mp-
|
|
95
|
-
"@dcloudio/uni-
|
|
96
|
-
"@dcloudio/uni-
|
|
97
|
-
"@dcloudio/
|
|
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.
|
|
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.
|
|
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": "
|
|
132
|
+
"vite": "6.3.5",
|
|
132
133
|
"vite-plugin-eslint": "^1.8.1",
|
|
133
|
-
"vitest": "^1.
|
|
134
|
-
"vue": "^3.
|
|
135
|
-
"vue-i18n": "^9.14.
|
|
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",
|