Skip to content

Commit 517aca0

Browse files
committed
chore: replace demo pic
1 parent 1a4eb3b commit 517aca0

File tree

15 files changed

+39
-39
lines changed

15 files changed

+39
-39
lines changed

content/feedback/skeleton/index-en-US.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class Demo extends React.Component {
5959
</Skeleton>
6060
<br/>
6161
<Skeleton style={{width: 200, height: 150}} placeholder={(<Skeleton.Image />)} loading={loading}>
62-
<img src="https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg" height='150' />
62+
<img src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png" height='150' />
6363
</Skeleton>
6464
<br/>
6565
<Skeleton style={{width: 80}} placeholder={(<Skeleton.Title style={{marginBottom: 10}}/>)} loading={loading}>
@@ -96,7 +96,7 @@ import { Skeleton } from '@douyinfe/semi-ui';
9696

9797
return (
9898
<Skeleton placeholder={placeholder} loading={true}>
99-
<img src="https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg" height='150' />
99+
<img src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png" height='150' />
100100
<h4>Semi UI</h4>
101101
</Skeleton>
102102
);
@@ -384,4 +384,4 @@ import { Skeleton, Avatar } from '@douyinfe/semi-ui';
384384
| style | Inline style | CSSProperties | - |
385385

386386
## Design Tokens
387-
<DesignToken/>
387+
<DesignToken/>

content/feedback/skeleton/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ import { Skeleton, Switch, Avatar, Button } from '@douyinfe/semi-ui';
5151
<br />
5252
<Skeleton style={{ width: 200, height: 150 }} placeholder={<Skeleton.Image />} loading={loading}>
5353
<img
54-
src="https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg"
54+
src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png"
5555
height="150"
5656
/>
5757
</Skeleton>
@@ -94,7 +94,7 @@ import { Skeleton } from '@douyinfe/semi-ui';
9494
return (
9595
<Skeleton placeholder={placeholder} loading={true}>
9696
<img
97-
src="https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg"
97+
src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png"
9898
height="150"
9999
/>
100100
<h4>Semi UI</h4>

content/input/select/index-en-US.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ import { Select, Avatar, Tag } from '@douyinfe/semi-ui';
710710

711711
() => {
712712
const list = [
713-
{ "name": "Keman Xia", "email": "xiakeman@example.com", "avatar": "https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg" },
713+
{ "name": "Keman Xia", "email": "xiakeman@example.com", "avatar": "https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png" },
714714
{ "name": "Yue Shen", "email": "shenyue@example.com", "avatar": "https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/bf8647bffab13c38772c9ff94bf91a9d.jpg" },
715715
{ "name": "Chenyi Qu", "email": "quchenyi@example.com", "avatar": "https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/8bd8224511db085ed74fea37205aede5.jpg" },
716716
{ "name": "Jiamao Wen", "email": "wenjiamao@example.com", "avatar": "https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/6fbafc2d-e3e6-4cff-a1e2-17709c680624.png" },
@@ -1405,4 +1405,4 @@ MinWidth will be given, but width will not be written dead. If necessary, you ca
14051405
First of all, we must need a unique identifier to make a selection judgment. For almost all UI libraries, when using Select.Option, the minimum requirements will only require the two values of label and value to be passed in, instead of requiring a separate key (too cumbersome). Semi continues this setting.
14061406
So why is label instead of value in semi's select?
14071407
The label of the option is what the user perceives. From an interactive point of view, if there are two options that are exactly the same on the display, to the user’s perception, they look the same and cannot be distinguished, but the selected effects are different (for example, one value is 0, the other As 1), it is unreasonable. (Users' first reaction is often repeated, and there may be a bug)
1408-
Unique label and repeated value are more common in daily use. For example, a selector that selects the company id based on the app name, value is the company id corresponding to the app, and label is the name of the app.
1408+
Unique label and repeated value are more common in daily use. For example, a selector that selects the company id based on the app name, value is the company id corresponding to the app, and label is the name of the app.

content/input/select/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ import { Select, Avatar, Tag } from '@douyinfe/semi-ui';
766766

767767
() => {
768768
const list = [
769-
{ "name": "夏可漫", "email": "xiakeman@example.com", "avatar": "https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg" },
769+
{ "name": "夏可漫", "email": "xiakeman@example.com", "avatar": "https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png" },
770770
{ "name": "申悦", "email": "shenyue@example.com", "avatar": "https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/bf8647bffab13c38772c9ff94bf91a9d.jpg" },
771771
{ "name": "曲晨一", "email": "quchenyi@example.com", "avatar": "https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/8bd8224511db085ed74fea37205aede5.jpg" },
772772
{ "name": "文嘉茂", "email": "wenjiamao@example.com", "avatar": "https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/6fbafc2d-e3e6-4cff-a1e2-17709c680624.png" },

content/input/taginput/index-en-US.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ class CustomRender extends React.Component {
368368
value : ['xiakeman']
369369
};
370370
this.list = [
371-
{ "name": "xiakeman", "avatar": "https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg"},
371+
{ "name": "xiakeman", "avatar": "https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png"},
372372
{ "name": "shenyue", "avatar": "https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/bf8647bffab13c38772c9ff94bf91a9d.jpg"},
373373
{ "name": "quchenyi", "avatar": "https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dbf7351bb779433d17c4f50478cf42f7.jpg"},
374374
{ "name": "wenjiamao", "avatar": "https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/7abf810ff060ac3387bd027ead92c4e0.jpg"},
@@ -385,7 +385,7 @@ class CustomRender extends React.Component {
385385
>
386386
<Avatar
387387
alt='avatar'
388-
src={data?data.avatar:'https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg'}
388+
src={data?data.avatar:'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png'}
389389
size="extra-small"
390390
/>
391391
<span style={{ marginLeft: 8 }}>
@@ -469,4 +469,4 @@ class CustomRender extends React.Component {
469469
470470
```material
471471
192,176
472-
``` -->
472+
``` -->

content/input/taginput/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ class CustomRender extends React.Component {
368368
value : ['夏可漫']
369369
};
370370
this.list = [
371-
{ "name": "夏可漫", "avatar": "https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg"},
371+
{ "name": "夏可漫", "avatar": "https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png"},
372372
{ "name": "申悦", "avatar": "https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/bf8647bffab13c38772c9ff94bf91a9d.jpg"},
373373
{ "name": "曲晨一", "avatar": "https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dbf7351bb779433d17c4f50478cf42f7.jpg"},
374374
{ "name": "文嘉茂", "avatar": "https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/7abf810ff060ac3387bd027ead92c4e0.jpg"},
@@ -385,7 +385,7 @@ class CustomRender extends React.Component {
385385
>
386386
<Avatar
387387
alt='avatar'
388-
src={data?data.avatar:'https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg'}
388+
src={data?data.avatar:'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png'}
389389
size="extra-small"
390390
/>
391391
<span style={{ marginLeft: 8 }}>

content/input/upload/index-en-US.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ import { Upload, Avatar, Toast } from '@douyinfe/semi-ui';
149149
import { IconCamera } from '@douyinfe/semi-icons';
150150

151151
() => {
152-
const [url, setUrl] = useState('https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg');
152+
const [url, setUrl] = useState('https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png');
153153
const onSuccess = (response, file) => {
154154
Toast.success('Avatar updated successfully');
155155
// const url = response.url;
@@ -922,7 +922,7 @@ import { IconBolt } from '@douyinfe/semi-icons';
922922
>
923923
<div className="components-upload-demo-drag-area">
924924
<img
925-
src="https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/0f2a32f27eab90a296814fbc26103b2b.jpg"
925+
src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png"
926926
height="96"
927927
style={{ borderRadius: 4 }}
928928
/>

content/input/upload/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ import { Upload, Avatar, Toast } from '@douyinfe/semi-ui';
154154
import { IconCamera } from '@douyinfe/semi-icons';
155155

156156
() => {
157-
const [url, setUrl] = useState('https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg');
157+
const [url, setUrl] = useState('https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png');
158158
const onSuccess = (response, file) => {
159159
Toast.success('头像更新成功');
160160
setUrl('https://sf6-cdn-tos.douyinstatic.com/obj/ttfe/ies/semi/ttmoment.jpeg');
@@ -934,7 +934,7 @@ import { IconBolt } from '@douyinfe/semi-icons';
934934
>
935935
<div className="components-upload-demo-drag-area">
936936
<img
937-
src="https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/0f2a32f27eab90a296814fbc26103b2b.jpg"
937+
src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png"
938938
height="96"
939939
alt='demo img'
940940
style={{ borderRadius: 4 }}

content/show/avatar/index-en-US.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,13 @@ import { Avatar } from '@douyinfe/semi-ui';
8484
<div>
8585
<Avatar
8686
alt="beautiful cat"
87-
src="https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg"
87+
src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png"
8888
style={{ margin: 4 }}
8989
/>
9090
<Avatar
9191
alt="cute cat"
9292
size="small"
93-
src="https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg"
93+
src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png"
9494
style={{ margin: 4 }}
9595
/>
9696
</div>
@@ -305,24 +305,24 @@ import { Avatar } from '@douyinfe/semi-ui';
305305
{/* Good case */ }
306306
<Avatar
307307
alt="A cut cat"
308-
src="https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg"
308+
src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png"
309309
style={{ margin: 4 }}
310310
/>
311311
<Avatar
312312
alt="Jiang Pengzhi"
313-
src="https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg"
313+
src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png"
314314
style={{ margin: 4 }}
315315
/>
316316
{/* Bad case: empty content */ }
317317
<Avatar
318318
alt=""
319-
src="https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg"
319+
src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png"
320320
style={{ margin: 4 }}
321321
/>
322322
{/* Bad case: no need to include picture or image in alt */ }
323323
<Avatar
324324
alt="Picture of Jiang Pengzhi"
325-
src="https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg"
325+
src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png"
326326
style={{ margin: 4 }}
327327
/>
328328
</>
@@ -331,4 +331,4 @@ import { Avatar } from '@douyinfe/semi-ui';
331331
```
332332

333333
## Design Tokens
334-
<DesignToken/>
334+
<DesignToken/>

content/show/avatar/index.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,13 @@ import { Avatar } from '@douyinfe/semi-ui';
8383
<div>
8484
<Avatar
8585
alt="beautiful cat"
86-
src="https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg"
86+
src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png"
8787
style={{ margin: 4 }}
8888
/>
8989
<Avatar
9090
alt="cute cat"
9191
size="small"
92-
src="https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg"
92+
src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png"
9393
style={{ margin: 4 }}
9494
/>
9595
</div>
@@ -304,23 +304,23 @@ import { Avatar } from '@douyinfe/semi-ui';
304304
{/* Good case */ }
305305
<Avatar
306306
alt="一只可爱的猫咪"
307-
src="https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg"
307+
src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png"
308308
style={{ margin: 4 }}
309309
/>
310310
<Avatar
311311
alt="姜鹏志"
312-
src="https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg"
312+
src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png"
313313
style={{ margin: 4 }}
314314
/>
315315
{/* Bad case */ }
316316
<Avatar
317317
alt=""
318-
src="https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg"
318+
src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png"
319319
style={{ margin: 4 }}
320320
/>
321321
<Avatar
322322
alt="姜鹏志的图片"
323-
src="https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg"
323+
src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png"
324324
style={{ margin: 4 }}
325325
/>
326326
</>

content/show/tag/index-en-US.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ import { Tag, Space } from '@douyinfe/semi-ui';
130130

131131
function Demo() {
132132
const src =
133-
'https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg';
133+
'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png';
134134
return (
135135
<Space vertical align='start'>
136136
<Tag avatarSrc={src}>Peter Behrens</Tag>
@@ -196,7 +196,7 @@ import { TagGroup } from '@douyinfe/semi-ui';
196196
{ color: 'white', children: 'Pipixia' },
197197
];
198198
const src =
199-
'https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg';
199+
'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png';
200200
const tagList2 = [
201201
{ color: 'white', children: 'Abcd', avatarSrc: src },
202202
{ color: 'white', children: 'Hotsoon', avatarSrc: src },

content/show/tag/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ import React from 'react';
103103
import { Tag, Space } from '@douyinfe/semi-ui';
104104

105105
function Demo() {
106-
const src = 'https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg';
106+
const src = 'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png';
107107
return (
108108
<Space vertical align='start'>
109109
<Tag avatarSrc={src}>焦锐志</Tag>
@@ -158,7 +158,7 @@ import { TagGroup } from '@douyinfe/semi-ui';
158158
{ color: 'white', children:'剪映'},
159159
{ color: 'white', children:'皮皮虾'},
160160
];
161-
const src = 'https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg';
161+
const src = 'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png';
162162
const tagList2 = [
163163
{ color: 'white', children:'Douyin', avatarSrc:src},
164164
{ color: 'white', children:'Hotsoon', avatarSrc:src},

packages/semi-ui/avatar/__test__/avatar.test.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ describe('Avatar', () => {
261261
it('src', () => {
262262
const element = (
263263
<Avatar
264-
src="https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg"
264+
src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png"
265265
style={{ margin: 4 }}
266266
/>
267267
);
@@ -272,7 +272,7 @@ describe('Avatar', () => {
272272
.at(0)
273273
.props()
274274
.src
275-
).toEqual('https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg');
275+
).toEqual('https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png');
276276
});
277277

278278
it('shape', () => {
@@ -320,7 +320,7 @@ describe('Avatar', () => {
320320
const avatar = mount(
321321
<Avatar
322322
onError={spyOnError}
323-
src="https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg"
323+
src="https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png"
324324
/>
325325
);
326326
avatar

packages/semi-ui/select/_story/select.stories.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ function CustomRender(props) {
8181
name: '夏可漫',
8282
email: 'xiakeman@example.com',
8383
avatar:
84-
'https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/avatarDemo.jpeg',
84+
'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/dy.png',
8585
},
8686
{
8787
name: '申悦',

0 commit comments

Comments
 (0)