mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
normalize scriptUrl
This commit is contained in:
parent
ed19561fdd
commit
1b93d795e0
@ -121,7 +121,7 @@ ReactDOM.render(
|
|||||||
```js
|
```js
|
||||||
const MyIcon = Icon.createFromIconfontCN({
|
const MyIcon = Icon.createFromIconfontCN({
|
||||||
namespace: 'foo', // identifier
|
namespace: 'foo', // identifier
|
||||||
scriptUrl: 'at.alicdn.com/t/font_8d5l8fzk5b87iudi', // generated by iconfont.cn
|
scriptUrl: '//at.alicdn.com/t/font_8d5l8fzk5b87iudi.js', // generated by iconfont.cn
|
||||||
prefix: 'icon-',
|
prefix: 'icon-',
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user