mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-19 16:29:17 +08:00
feat: 应用详情适配夜间模式 (#1297)
This commit is contained in:
parent
97774c88d5
commit
033b3c10c0
@ -314,10 +314,6 @@ func upgradeInstall(installId uint, detailId uint) error {
|
|||||||
install.Version = detail.Version
|
install.Version = detail.Version
|
||||||
install.AppDetailId = detailId
|
install.AppDetailId = detailId
|
||||||
|
|
||||||
go func() {
|
|
||||||
_, _ = http.Get(detail.DownloadCallBackUrl)
|
|
||||||
}()
|
|
||||||
|
|
||||||
if out, err := compose.Down(install.GetComposePath()); err != nil {
|
if out, err := compose.Down(install.GetComposePath()); err != nil {
|
||||||
if out != "" {
|
if out != "" {
|
||||||
upErr = errors.New(out)
|
upErr = errors.New(out)
|
||||||
|
@ -56,7 +56,7 @@
|
|||||||
<MdEditor
|
<MdEditor
|
||||||
v-model="upgradeInfo.releaseNote"
|
v-model="upgradeInfo.releaseNote"
|
||||||
previewOnly
|
previewOnly
|
||||||
:theme="globalStore.$state.themeConfig.theme || 'light'"
|
:theme="globalStore.$state.themeConfig.theme === 'dark' ? 'dark' : 'light'"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
|
@ -83,7 +83,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="margin-left: 10px">
|
<div style="margin-left: 10px">
|
||||||
<MdEditor v-model="app.readMe" previewOnly :themes="globalStore.$state.themeConfig.theme || 'light'" />
|
<MdEditor
|
||||||
|
v-model="app.readMe"
|
||||||
|
previewOnly
|
||||||
|
:theme="globalStore.$state.themeConfig.theme === 'dark' ? 'dark' : 'light'"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</LayoutContent>
|
</LayoutContent>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user