diff --git a/frontend/src/App.vue b/frontend/src/App.vue
index 2c75e87d4..b225a8ab7 100644
--- a/frontend/src/App.vue
+++ b/frontend/src/App.vue
@@ -1,11 +1,11 @@
-
+
diff --git a/frontend/src/components/back-button/index.vue b/frontend/src/components/back-button/index.vue
index c9d2f2938..f153ca245 100644
--- a/frontend/src/components/back-button/index.vue
+++ b/frontend/src/components/back-button/index.vue
@@ -1,11 +1,9 @@
-
-
+let reloadPage: Function = inject('reload');
+
diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts
index fe2ce192f..07943f463 100644
--- a/frontend/src/lang/modules/zh.ts
+++ b/frontend/src/lang/modules/zh.ts
@@ -139,7 +139,7 @@ export default {
cronjob: '计划任务',
host: '主机',
security: '安全',
- files: '文件管理',
+ files: '文件',
monitor: '监控',
terminal: '终端',
settings: '面板设置',
@@ -752,5 +752,6 @@ export default {
aliasHelper: '代号是网站目录的文件夹名称',
lastBackupAt: '上次备份时间',
null: '无',
+ nginxConfig: 'Nginx配置',
},
};
diff --git a/frontend/src/layout/layout-content.vue b/frontend/src/layout/layout-content.vue
index 832b214ce..7ff6bedf1 100644
--- a/frontend/src/layout/layout-content.vue
+++ b/frontend/src/layout/layout-content.vue
@@ -7,8 +7,10 @@
:name="backName"
:to="backTo"
:header="header"
+ :reload="reload"
v-if="showBack"
>
+
{{ header }}
@@ -37,11 +39,12 @@ const prop = defineProps({
backPath: String,
backName: String,
backTo: Object,
+ reload: Boolean,
});
const showBack = computed(() => {
- const { backPath, backName, backTo } = prop;
- return backPath || backName || backTo;
+ const { backPath, backName, backTo, reload } = prop;
+ return backPath || backName || backTo || reload;
});
diff --git a/frontend/src/routers/modules/website.ts b/frontend/src/routers/modules/website.ts
index 2b0d4fe7c..3fbd22875 100644
--- a/frontend/src/routers/modules/website.ts
+++ b/frontend/src/routers/modules/website.ts
@@ -36,14 +36,6 @@ const webSiteRouter = {
title: 'menu.ssl',
},
},
- {
- path: '/websites/nginx',
- name: 'Config',
- component: () => import('@/views/website/config/index.vue'),
- meta: {
- title: 'menu.config',
- },
- },
],
};
diff --git a/frontend/src/views/website/website/index.vue b/frontend/src/views/website/website/index.vue
index 7f0f1f11a..4d19178c3 100644
--- a/frontend/src/views/website/website/index.vue
+++ b/frontend/src/views/website/website/index.vue
@@ -1,9 +1,9 @@
-
-
-
-
-
+
+
+
+
+
@@ -30,13 +30,16 @@
fix
/>
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+