From f77ec61465239601c9fbae25ae89c12bf2f28767 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Mon, 24 Oct 2022 11:20:12 +0800 Subject: [PATCH] refactor: load the theme and plugin logos using the avatar component (#657) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What type of PR is this? /kind improvement /milestone 2.0 #### What this PR does / why we need it: 插件和主题管理的 Logo 改为使用 `Avatar` 组件。 #### Special notes for your reviewer: /cc @halo-dev/sig-halo-console 测试方式:检查主题和插件相关的管理页面是否正常加载 Logo。 #### Does this PR introduce a user-facing change? ```release-note 插件和主题管理的 Logo 改为使用 `Avatar` 组件。 ``` --- src/modules/interface/themes/ThemeDetail.vue | 19 ++++++++----------- .../plugins/components/PluginListItem.vue | 13 ++++++------- .../system/plugins/layouts/PluginLayout.vue | 16 ++++++++++++++-- 3 files changed, 28 insertions(+), 20 deletions(-) diff --git a/src/modules/interface/themes/ThemeDetail.vue b/src/modules/interface/themes/ThemeDetail.vue index 6cc91681..3d0fe939 100644 --- a/src/modules/interface/themes/ThemeDetail.vue +++ b/src/modules/interface/themes/ThemeDetail.vue @@ -11,6 +11,7 @@ import { IconMore, VButton, Dialog, + VAvatar, } from "@halo-dev/components"; import ThemeUploadModal from "./components/ThemeUploadModal.vue"; @@ -56,17 +57,13 @@ const onUpgradeModalClose = () => {