mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-10 09:02:42 +08:00
feat: 优化网站目录跳转
This commit is contained in:
parent
54e81b2de5
commit
ed24e12eaa
5 changed files with 9 additions and 9 deletions
|
@ -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',
|
||||
|
|
|
@ -1692,8 +1692,8 @@ const message = {
|
|||
startHelper: '啟用站點後,用戶可以正常訪問網站內容,是否繼續操作?',
|
||||
sitePath: '網站目錄',
|
||||
siteAlias: '網站代號',
|
||||
primaryPath: '主目錄',
|
||||
folderTitle: '網站主目錄主要包含四個文件夾',
|
||||
primaryPath: 'root 目錄',
|
||||
folderTitle: '網站主要包含四個文件夾',
|
||||
wafFolder: '防火墻規則',
|
||||
indexFolder: '網站root目錄',
|
||||
logFolder: '網站日誌',
|
||||
|
|
|
@ -1692,8 +1692,8 @@ const message = {
|
|||
startHelper: '启用站点后,用户可以正常访问网站内容,是否继续操作?',
|
||||
sitePath: '网站目录',
|
||||
siteAlias: '网站代号',
|
||||
primaryPath: '主目录',
|
||||
folderTitle: '网站主目录主要包含四个文件夹',
|
||||
primaryPath: 'root 目录',
|
||||
folderTitle: '网站主要包含四个文件夹',
|
||||
wafFolder: '防火墙规则',
|
||||
indexFolder: '网站 root 目录(PHP 运行环境 静态网站代码存放目录)',
|
||||
logFolder: '网站日志',
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue