This repository was archived by the owner on Apr 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +9
-28
lines changed Expand file tree Collapse file tree 4 files changed +9
-28
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ exports[`Login 组件 获取验证码 1`] = `
6
6
class = " avx-user-panel-login-container"
7
7
>
8
8
<form
9
+ autocomplete = " off"
9
10
class = " ant-form ant-form-vertical"
10
11
>
11
12
<input
@@ -56,7 +57,6 @@ exports[`Login 组件 获取验证码 1`] = `
56
57
</div >
57
58
<div
58
59
class = " ant-tabs-ink-bar ant-tabs-ink-bar-animated"
59
- style = " left: 0px; width: 0px;"
60
60
/>
61
61
</div >
62
62
</div >
@@ -124,7 +124,7 @@ exports[`Login 组件 获取验证码 1`] = `
124
124
</div >
125
125
</div >
126
126
<div
127
- class = " ant-row ant-form-item ant-form-item-with-help ant-form-item-has-error "
127
+ class = " ant-row ant-form-item ant-form-item-is-validating "
128
128
>
129
129
<div
130
130
class = " ant-col ant-form-item-control"
@@ -195,15 +195,6 @@ exports[`Login 组件 获取验证码 1`] = `
195
195
</span >
196
196
</div >
197
197
</div >
198
- <div
199
- class = " ant-form-item-explain ant-form-item-explain-error"
200
- >
201
- <div
202
- role = " alert"
203
- >
204
- 手机号是必填项!
205
- </div >
206
- </div >
207
198
</div >
208
199
</div >
209
200
<div
@@ -257,7 +248,7 @@ exports[`Login 组件 获取验证码 1`] = `
257
248
/>
258
249
</span >
259
250
<button
260
- ant-click-animating-without-extra-node = " true "
251
+ ant-click-animating-without-extra-node = " false "
261
252
class = " ant-btn ant-btn-lg"
262
253
style = " display: block;"
263
254
type = " button"
@@ -316,6 +307,7 @@ exports[`Login 组件 默认状态 1`] = `
316
307
class = " avx-user-panel-login-container"
317
308
>
318
309
<form
310
+ autocomplete = " off"
319
311
class = " ant-form ant-form-vertical"
320
312
>
321
313
<input
Original file line number Diff line number Diff line change @@ -28,8 +28,7 @@ describe('Login 组件', () => {
28
28
fireEvent . click ( btn ) ;
29
29
const captcha = await findByText ( '获取验证码' ) ;
30
30
await fireEvent . click ( captcha ) ;
31
+ expect ( container ) . toMatchSnapshot ( ) ;
31
32
} ) ;
32
-
33
- expect ( container ) . toMatchSnapshot ( ) ;
34
33
} ) ;
35
34
} ) ;
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ exports[`UserPanel 登录面板 1`] = `
19
19
class = " avx-user-panel-login-container"
20
20
>
21
21
<form
22
+ autocomplete = " off"
22
23
class = " ant-form ant-form-vertical"
23
24
>
24
25
<input
@@ -69,7 +70,6 @@ exports[`UserPanel 登录面板 1`] = `
69
70
</div >
70
71
<div
71
72
class = " ant-tabs-ink-bar ant-tabs-ink-bar-animated"
72
- style = " left: 0px; width: 0px;"
73
73
/>
74
74
</div >
75
75
</div >
@@ -137,7 +137,7 @@ exports[`UserPanel 登录面板 1`] = `
137
137
</div >
138
138
</div >
139
139
<div
140
- class = " ant-row ant-form-item ant-form-item-with-help ant-form-item-has-error "
140
+ class = " ant-row ant-form-item ant-form-item-is-validating "
141
141
>
142
142
<div
143
143
class = " ant-col ant-form-item-control"
@@ -208,15 +208,6 @@ exports[`UserPanel 登录面板 1`] = `
208
208
</span >
209
209
</div >
210
210
</div >
211
- <div
212
- class = " ant-form-item-explain ant-form-item-explain-error"
213
- >
214
- <div
215
- role = " alert"
216
- >
217
- 手机号是必填项!
218
- </div >
219
- </div >
220
211
</div >
221
212
</div >
222
213
<div
@@ -270,7 +261,7 @@ exports[`UserPanel 登录面板 1`] = `
270
261
/>
271
262
</span >
272
263
<button
273
- ant-click-animating-without-extra-node = " true "
264
+ ant-click-animating-without-extra-node = " false "
274
265
class = " ant-btn ant-btn-lg"
275
266
style = " display: block;"
276
267
type = " button"
Original file line number Diff line number Diff line change @@ -30,8 +30,7 @@ describe('UserPanel', () => {
30
30
fireEvent . click ( btn ) ;
31
31
const captcha = await findByText ( '获取验证码' ) ;
32
32
await fireEvent . click ( captcha ) ;
33
+ expect ( container ) . toMatchSnapshot ( ) ;
33
34
} ) ;
34
-
35
- expect ( container ) . toMatchSnapshot ( ) ;
36
35
} ) ;
37
36
} ) ;
You can’t perform that action at this time.
0 commit comments