From 42e092f54d1d63dd194da5477cf09f91566d998f Mon Sep 17 00:00:00 2001 From: liushuyu Date: Fri, 1 Apr 2022 20:24:42 -0600 Subject: [PATCH] feat(ui): add a "back" button ... ... on the complete view when entered in maintenance mode --- ui/src/views/CompleteView.vue | 10 ++++++++++ ui/src/views/SelectPackages.vue | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ui/src/views/CompleteView.vue b/ui/src/views/CompleteView.vue index c5e54ae..49bc923 100644 --- a/ui/src/views/CompleteView.vue +++ b/ui/src/views/CompleteView.vue @@ -30,6 +30,13 @@

{{ $t('complete.uninstalled', {'name': $root.$data.attrs.name}) }}

+ +
+

+ {{ $t('back') }} +

+
+

{{ $t('exit') }} @@ -50,6 +57,9 @@ export default { } }, methods: { + go_back: function () { + this.$router.replace('/modify') + }, exit: function () { this.$root.exit() } diff --git a/ui/src/views/SelectPackages.vue b/ui/src/views/SelectPackages.vue index 0ee5e27..7d784cf 100644 --- a/ui/src/views/SelectPackages.vue +++ b/ui/src/views/SelectPackages.vue @@ -67,7 +67,7 @@

- {{ $t('back') }}