mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2026-01-26 17:02:00 +08:00
feat: 菜单图标 icon 支持使用在线图标
This commit is contained in:
@@ -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)"
|
||||
>
|
||||
字典配置
|
||||
|
||||
Reference in New Issue
Block a user