feat: update docs url (#8997)

This commit is contained in:
CityFun 2025-06-10 18:30:35 +08:00 committed by GitHub
parent 1eae519e1a
commit 4528f1feaf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 16 additions and 3 deletions

View file

@ -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
}
]

View file

@ -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: {

View file

@ -15,7 +15,13 @@
<el-button icon="Refresh" circle @click="search" />
</el-tooltip>
<el-tooltip :content="isHidden ? $t('file.showHide') : $t('file.noShowHide')" placement="top">
<el-button class="btn" circle :icon="isHidden ? Hide : View" @click="viewHideFile" />
<el-button
class="btn"
circle
:type="isHidden ? 'primary' : ''"
:icon="isHidden ? Hide : View"
@click="viewHideFile"
/>
</el-tooltip>
</div>
<div class="flex-1 sm:w-min w-full hidden sm:block" ref="pathRef">
@ -657,7 +663,7 @@ const calculateBtn = ref(false);
const dirNum = ref(0);
const fileNum = ref(0);
const imageFiles = ref([]);
const isHidden = ref(true);
const isHidden = ref(false);
const { searchableStatus, searchablePath, searchableInputRef, searchableInputBlur } = useSearchable(paths);