diff --git a/frontend/src/views/app-store/installed/detail/index.vue b/frontend/src/views/app-store/installed/detail/index.vue index b017ed5fa..3cde5ff98 100644 --- a/frontend/src/views/app-store/installed/detail/index.vue +++ b/frontend/src/views/app-store/installed/detail/index.vue @@ -30,6 +30,7 @@ {{ param.showValue && param.showValue != '' ? param.showValue : param.value }} + @@ -348,6 +349,23 @@ const updateAppConfig = async () => { } catch (error) {} }; +const showCopyButton = (key: string) => { + const keys = [ + 'PANEL_DB_ROOT_PASSWORD', + 'PANEL_DB_NAME', + 'PANEL_DB_USER', + 'PANEL_DB_USER_PASSWORD', + 'PANEL_REDIS_ROOT_PASSWORD', + 'PANEL_DB_ROOT_USER', + ]; + for (let i = 0; i < keys.length; i++) { + if (key === keys[i]) { + return true; + } + } + return false; +}; + defineExpose({ acceptParams });