mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-12-09 20:05:54 +08:00
feat: update docs url (#8997)
This commit is contained in:
parent
1eae519e1a
commit
4528f1feaf
3 changed files with 16 additions and 3 deletions
|
|
@ -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
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -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: {
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue