feat: 菜单图标 icon 支持使用在线图标

This commit is contained in:
xiaoxian521
2022-11-08 12:05:07 +08:00
parent b2081b3481
commit d11398274a
9 changed files with 15 additions and 22 deletions

View File

@@ -240,21 +240,21 @@ function onHide() {
<el-button-group>
<el-button
type="primary"
:icon="useRenderIcon('fa:plus-square-o', { online: true })"
:icon="useRenderIcon('fa:plus-square-o')"
@click="onAdd"
>
{{ t("buttons.hsadd") }}
</el-button>
<el-button
type="primary"
:icon="useRenderIcon('fa:folder-open-o', { online: true })"
:icon="useRenderIcon('fa:folder-open-o')"
@click="onExpand"
>
{{ t("buttons.hsexpendAll") }}
</el-button>
<el-button
type="primary"
:icon="useRenderIcon('fa:folder-o', { online: true })"
:icon="useRenderIcon('fa:folder-o')"
@click="onUnExpand"
>
{{ t("buttons.hscollapseAll") }}
@@ -301,7 +301,7 @@ function onHide() {
<el-button
link
type="primary"
:icon="useRenderIcon('fa:plus-square-o', { online: true })"
:icon="useRenderIcon('fa:plus-square-o')"
@click="onAddChild(row)"
>
新增子类型
@@ -310,7 +310,7 @@ function onHide() {
v-show="row.model"
link
type="primary"
:icon="useRenderIcon('fa:cog', { online: true })"
:icon="useRenderIcon('fa:cog')"
@click="onDeploy(row)"
>
字典配置