icon 换成 bos 地址避免路径问题 (#1474)

This commit is contained in:
吴多益 2021-01-28 17:04:31 +08:00 committed by GitHub
parent fce4d95652
commit c5470ec083
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 6 additions and 10 deletions

View File

@ -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": "这是个简单的弹框。"

View File

@ -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": "搜索"
}
}

View File

@ -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"
}
}
```

View File

@ -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
},
{

View File

@ -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"
},
{

View File

@ -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