feat: 优化网站目录跳转

This commit is contained in:
zhengkunwang223 2024-05-16 14:43:07 +08:00
parent 54e81b2de5
commit ed24e12eaa
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? ',
sitePath: 'Website Directory',
siteAlias: 'Site Alias',
primaryPath: 'Main directory',
folderTitle: 'The main directory of the website mainly contains four folders',
primaryPath: 'Root directory',
folderTitle: 'The website mainly contains four folders',
wafFolder: 'Firewall Rules',
indexFolder: 'Website root directory',
logFolder: 'website log',

View file

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

View file

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

View file

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

View file

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