diff --git a/frontend/src/components/app-status/index.vue b/frontend/src/components/app-status/index.vue index 5a74a1b0e..2b8b931b7 100644 --- a/frontend/src/components/app-status/index.vue +++ b/frontend/src/components/app-status/index.vue @@ -2,73 +2,80 @@
-
- {{ data.app }} - - {{ $t('app.version') }}:{{ data.version }} +
+
+ {{ data.app }} +
+
+ +
+
+ {{ $t('app.version') }}:{{ data.version }} +
+
+ + + {{ $t('app.start') }} + + + {{ $t('app.stop') }} + + + + {{ $t('app.restart') }} + + + + {{ $t('app.reload') }} + + + + {{ $t('commons.button.set') }} + + + + {{ $t('nginx.clearProxyCache') }} + + +
- - - {{ $t('app.start') }} - - - {{ $t('app.stop') }} - - - - {{ $t('app.restart') }} - - - - {{ $t('app.reload') }} - - - - {{ $t('commons.button.set') }} - - - - {{ $t('nginx.clearProxyCache') }} - - - - - - {{ $t('website.openrestyHelper', [httpPort, httpsPort]) }} - - +
+ {{ $t('website.openrestyHelper', [httpPort, httpsPort]) }} +
@@ -237,12 +244,3 @@ onMounted(() => { onCheck(); }); - - diff --git a/frontend/src/views/home/index.vue b/frontend/src/views/home/index.vue index 30e108464..d2a54985e 100644 --- a/frontend/src/views/home/index.vue +++ b/frontend/src/views/home/index.vue @@ -206,7 +206,11 @@ {{ $t('home.platformVersion') }} - {{ baseInfo.platformVersion === "" ? baseInfo.platform : (baseInfo.platform + "-" + baseInfo.platformVersion) }} + {{ + baseInfo.platformVersion === '' + ? baseInfo.platform + : baseInfo.platform + '-' + baseInfo.platformVersion + }}