Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
May 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions frontend/src/lang/modules/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/lang/modules/tw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1692,8 +1692,8 @@ const message = {
startHelper: '啟用站點後,用戶可以正常訪問網站內容,是否繼續操作?',
sitePath: '網站目錄',
siteAlias: '網站代號',
primaryPath: '主目錄',
folderTitle: '網站主目錄主要包含四個文件夾',
primaryPath: 'root 目錄',
folderTitle: '網站主要包含四個文件夾',
wafFolder: '防火墻規則',
indexFolder: '網站root目錄',
logFolder: '網站日誌',
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/lang/modules/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1692,8 +1692,8 @@ const message = {
startHelper: '启用站点后,用户可以正常访问网站内容,是否继续操作?',
sitePath: '网站目录',
siteAlias: '网站代号',
primaryPath: '主目录',
folderTitle: '网站主目录主要包含四个文件夹',
primaryPath: 'root 目录',
folderTitle: '网站主要包含四个文件夹',
wafFolder: '防火墙规则',
indexFolder: '网站 root 目录(PHP 运行环境 静态网站代码存放目录)',
logFolder: '网站日志',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/website/website/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Loading