mirror of https://github.com/halo-dev/halo-admin
feat: add display theme location support (#626)
#### 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: <img width="760" alt="image" src="https://user-images.githubusercontent.com/21301288/192721460-b39bfcf0-b6b7-49fe-979c-adad7bba0670.png"> #### 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 添加显示主题存储位置的支持 ```pull/628/head
parent
24794df827
commit
629e37994a
|
@ -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"
|
||||
>
|
||||
<dt class="text-sm font-medium text-gray-900">存储位置</dt>
|
||||
<dd class="mt-1 text-sm text-gray-900 sm:col-span-3 sm:mt-0">无</dd>
|
||||
<dd class="mt-1 text-sm text-gray-900 sm:col-span-3 sm:mt-0">
|
||||
{{ selectedTheme?.status?.location }}
|
||||
</dd>
|
||||
</div>
|
||||
<!-- TODO: add display required plugins support -->
|
||||
<div
|
||||
|
|
Loading…
Reference in New Issue