1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-31 22:18:07 +08:00

feat: 优化网站目录跳转 (#5025)

This commit is contained in:
zhengkunwang 2024-05-17 12:12:37 +08:00 committed by GitHub
parent 54e81b2de5
commit 2e47afef3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 9 additions and 9 deletions

View File

@ -1813,8 +1813,8 @@ const message = {
'After enabling the site, users can access the content of the site normally, do you want to continue? ', 'After enabling the site, users can access the content of the site normally, do you want to continue? ',
sitePath: 'Website Directory', sitePath: 'Website Directory',
siteAlias: 'Site Alias', siteAlias: 'Site Alias',
primaryPath: 'Main directory', primaryPath: 'Root directory',
folderTitle: 'The main directory of the website mainly contains four folders', folderTitle: 'The website mainly contains four folders',
wafFolder: 'Firewall Rules', wafFolder: 'Firewall Rules',
indexFolder: 'Website root directory', indexFolder: 'Website root directory',
logFolder: 'website log', logFolder: 'website log',

View File

@ -1692,8 +1692,8 @@ const message = {
startHelper: '啟用站點後用戶可以正常訪問網站內容是否繼續操作', startHelper: '啟用站點後用戶可以正常訪問網站內容是否繼續操作',
sitePath: '網站目錄', sitePath: '網站目錄',
siteAlias: '網站代號', siteAlias: '網站代號',
primaryPath: '目錄', primaryPath: 'root 目錄',
folderTitle: '網站主目錄主要包含四個文件夾', folderTitle: '網站主要包含四個文件夾',
wafFolder: '防火墻規則', wafFolder: '防火墻規則',
indexFolder: '網站root目錄', indexFolder: '網站root目錄',
logFolder: '網站日誌', logFolder: '網站日誌',

View File

@ -1692,8 +1692,8 @@ const message = {
startHelper: '启用站点后用户可以正常访问网站内容是否继续操作', startHelper: '启用站点后用户可以正常访问网站内容是否继续操作',
sitePath: '网站目录', sitePath: '网站目录',
siteAlias: '网站代号', siteAlias: '网站代号',
primaryPath: '目录', primaryPath: 'root 目录',
folderTitle: '网站主目录主要包含四个文件夹', folderTitle: '网站主要包含四个文件夹',
wafFolder: '防火墙规则', wafFolder: '防火墙规则',
indexFolder: '网站 root 目录PHP 运行环境 静态网站代码存放目录', indexFolder: '网站 root 目录PHP 运行环境 静态网站代码存放目录',
logFolder: '网站日志', logFolder: '网站日志',

View File

@ -7,8 +7,8 @@
</el-form-item> </el-form-item>
<el-form-item :label="$t('website.primaryPath')"> <el-form-item :label="$t('website.primaryPath')">
<el-space wrap> <el-space wrap>
{{ website.sitePath }} {{ website.sitePath + '/index' }}
<el-button type="primary" link @click="toFolder(website.sitePath)"> <el-button type="primary" link @click="toFolder(website.sitePath + '/index')">
<el-icon> <el-icon>
<FolderOpened /> <FolderOpened />
</el-icon> </el-icon>

View File

@ -88,7 +88,7 @@
</el-table-column> </el-table-column>
<el-table-column :label="$t('website.sitePath')" prop="sitePath"> <el-table-column :label="$t('website.sitePath')" prop="sitePath">
<template #default="{ row }"> <template #default="{ row }">
<el-button type="primary" link @click="toFolder(row.sitePath)"> <el-button type="primary" link @click="toFolder(row.sitePath + '/index')">
<el-icon> <el-icon>
<FolderOpened /> <FolderOpened />
</el-icon> </el-icon>