Skip to content

Commit 4528f1f

Browse files
feat: update docs url (#8997)
1 parent 1eae519 commit 4528f1f

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

agent/cmd/server/nginx_conf/php_extensions.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,5 +362,12 @@
362362
"file": "gd.so",
363363
"versions": ["56","70", "71", "72", "73", "74", "80", "81", "82", "83","84"],
364364
"installed": false
365+
},
366+
{
367+
"name": "bcmath",
368+
"check": "bcmath",
369+
"file": "bcmath.so",
370+
"versions": ["56","70", "71", "72", "73", "74", "80", "81", "82", "83","84"],
371+
"installed": false
365372
}
366373
]

frontend/src/store/modules/global.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const GlobalStore = defineStore({
5454
state.themeConfig.theme === 'dark' ||
5555
(state.themeConfig.theme === 'auto' && window.matchMedia('(prefers-color-scheme: dark)').matches),
5656
isDarkGoldTheme: (state) => state.themeConfig.primary === '#F0BE96' && state.isProductPro,
57-
docsUrl: (state) => (state.isIntl ? 'https://docs.1panel.hk' : 'https://1panel.cn/docs'),
57+
docsUrl: (state) => (state.isIntl ? 'https://docs.1panel.hk' : 'https://1panel.cn/docs/v2'),
5858
isMaster: (state) => state.currentNode === 'local',
5959
},
6060
actions: {

frontend/src/views/host/file-management/index.vue

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@
1515
<el-button icon="Refresh" circle @click="search" />
1616
</el-tooltip>
1717
<el-tooltip :content="isHidden ? $t('file.showHide') : $t('file.noShowHide')" placement="top">
18-
<el-button class="btn" circle :icon="isHidden ? Hide : View" @click="viewHideFile" />
18+
<el-button
19+
class="btn"
20+
circle
21+
:type="isHidden ? 'primary' : ''"
22+
:icon="isHidden ? Hide : View"
23+
@click="viewHideFile"
24+
/>
1925
</el-tooltip>
2026
</div>
2127
<div class="flex-1 sm:w-min w-full hidden sm:block" ref="pathRef">
@@ -657,7 +663,7 @@ const calculateBtn = ref(false);
657663
const dirNum = ref(0);
658664
const fileNum = ref(0);
659665
const imageFiles = ref([]);
660-
const isHidden = ref(true);
666+
const isHidden = ref(false);
661667
662668
const { searchableStatus, searchablePath, searchableInputRef, searchableInputBlur } = useSearchable(paths);
663669

0 commit comments

Comments
 (0)