mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:48:55 +08:00
icon 换成 bos 地址避免路径问题 (#1474)
This commit is contained in:
parent
fce4d95652
commit
c5470ec083
@ -144,7 +144,7 @@ icon 也可以是 url 地址,比如
|
||||
"label": "弹框",
|
||||
"type": "action",
|
||||
"actionType": "dialog",
|
||||
"icon": "../../../examples/static/diamond.svg",
|
||||
"icon": "https://suda.cdn.bcebos.com/images%2F2021-01%2Fdiamond.svg",
|
||||
"dialog": {
|
||||
"title": "弹框",
|
||||
"body": "这是个简单的弹框。"
|
||||
|
@ -81,7 +81,7 @@ order: 56
|
||||
"label": "text",
|
||||
"addOn": {
|
||||
"type": "button",
|
||||
"icon": "../../../../examples/static/search.svg",
|
||||
"icon": "https://suda.cdn.bcebos.com/images%2F2021-01%2Fsearch.svg",
|
||||
"label": "搜索"
|
||||
}
|
||||
}
|
||||
|
@ -46,7 +46,7 @@ icon 还可以使用 URL 地址,可以从 [iconfont](https://www.iconfont.cn/)
|
||||
"type": "page",
|
||||
"body": {
|
||||
"type": "icon",
|
||||
"icon": "../../../examples/static/diamond.svg"
|
||||
"icon": "https://suda.cdn.bcebos.com/images%2F2021-01%2Fdiamond.svg"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -21,7 +21,7 @@ order: 58
|
||||
{
|
||||
"label": "Nav 1",
|
||||
"to": "/docs/index",
|
||||
"icon": "../../../examples/static/diamond.svg",
|
||||
"icon": "https://suda.cdn.bcebos.com/images%2F2021-01%2Fdiamond.svg",
|
||||
"active": true
|
||||
},
|
||||
{
|
||||
|
@ -287,7 +287,7 @@ order: 68
|
||||
{
|
||||
"title": "Tab 1",
|
||||
"tab": "Content 1",
|
||||
"icon": "../../../examples/static/diamond.svg"
|
||||
"icon": "https://suda.cdn.bcebos.com/images%2F2021-01%2Fdiamond.svg"
|
||||
},
|
||||
|
||||
{
|
||||
|
@ -86,7 +86,7 @@ export default {
|
||||
label: '列表示例',
|
||||
url: '/crud',
|
||||
rewrite: '/crud/list',
|
||||
icon: '../../../examples/static/diamond.svg',
|
||||
icon: 'https://suda.cdn.bcebos.com/images%2F2021-01%2Fdiamond.svg',
|
||||
children: [
|
||||
{
|
||||
label: '列表',
|
||||
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 93 KiB |
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 92 KiB |
Loading…
Reference in New Issue
Block a user