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:
parent
54e81b2de5
commit
2e47afef3b
@ -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',
|
||||||
|
@ -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: '網站日誌',
|
||||||
|
@ -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: '网站日志',
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user