From 4528f1feaf5402a5e484bfb00550bcef8695dee2 Mon Sep 17 00:00:00 2001 From: CityFun <31820853+zhengkunwang223@users.noreply.github.com> Date: Tue, 10 Jun 2025 18:30:35 +0800 Subject: [PATCH] feat: update docs url (#8997) --- agent/cmd/server/nginx_conf/php_extensions.json | 7 +++++++ frontend/src/store/modules/global.ts | 2 +- frontend/src/views/host/file-management/index.vue | 10 ++++++++-- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/agent/cmd/server/nginx_conf/php_extensions.json b/agent/cmd/server/nginx_conf/php_extensions.json index 360414fe8..31bb0dee3 100644 --- a/agent/cmd/server/nginx_conf/php_extensions.json +++ b/agent/cmd/server/nginx_conf/php_extensions.json @@ -362,5 +362,12 @@ "file": "gd.so", "versions": ["56","70", "71", "72", "73", "74", "80", "81", "82", "83","84"], "installed": false + }, + { + "name": "bcmath", + "check": "bcmath", + "file": "bcmath.so", + "versions": ["56","70", "71", "72", "73", "74", "80", "81", "82", "83","84"], + "installed": false } ] diff --git a/frontend/src/store/modules/global.ts b/frontend/src/store/modules/global.ts index 7beba9c3b..36461db87 100644 --- a/frontend/src/store/modules/global.ts +++ b/frontend/src/store/modules/global.ts @@ -54,7 +54,7 @@ const GlobalStore = defineStore({ state.themeConfig.theme === 'dark' || (state.themeConfig.theme === 'auto' && window.matchMedia('(prefers-color-scheme: dark)').matches), isDarkGoldTheme: (state) => state.themeConfig.primary === '#F0BE96' && state.isProductPro, - docsUrl: (state) => (state.isIntl ? 'https://docs.1panel.hk' : 'https://1panel.cn/docs'), + docsUrl: (state) => (state.isIntl ? 'https://docs.1panel.hk' : 'https://1panel.cn/docs/v2'), isMaster: (state) => state.currentNode === 'local', }, actions: { diff --git a/frontend/src/views/host/file-management/index.vue b/frontend/src/views/host/file-management/index.vue index 72a3e9481..a207aaac6 100644 --- a/frontend/src/views/host/file-management/index.vue +++ b/frontend/src/views/host/file-management/index.vue @@ -15,7 +15,13 @@ - +