From 629e37994a42f43dd4fe4232937544598a61a9a8 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Thu, 29 Sep 2022 10:56:17 +0800 Subject: [PATCH] feat: add display theme location support (#626) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What type of PR is this? /kind feature /milestone 2.0 #### What this PR does / why we need it: 添加显示主题存储位置的支持。适配 https://github.com/halo-dev/halo/pull/2484 #### Which issue(s) this PR fixes: Fixes https://github.com/halo-dev/halo/issues/2461 #### Screenshots: image #### Special notes for your reviewer: 测试方式: 1. Halo 需要切换到 https://github.com/halo-dev/halo/pull/2484 PR 的分支。 2. Console 需要 `pnpm install` 3. 上传新的主题,查看主题详情是否包含存储位置 #### Does this PR introduce a user-facing change? ```release-note 添加显示主题存储位置的支持 ``` --- src/modules/interface/themes/ThemeDetail.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/interface/themes/ThemeDetail.vue b/src/modules/interface/themes/ThemeDetail.vue index e7030560..d3219efa 100644 --- a/src/modules/interface/themes/ThemeDetail.vue +++ b/src/modules/interface/themes/ThemeDetail.vue @@ -138,7 +138,9 @@ const handleReloadThemeSetting = async () => { class="bg-white px-4 py-5 hover:bg-gray-50 sm:grid sm:grid-cols-6 sm:gap-4 sm:px-6" >
存储位置
-
+
+ {{ selectedTheme?.status?.location }} +