make a function goback() from router go-1 in adminarea

This commit is contained in:
ogerly 2022-02-17 10:42:52 +01:00
parent 62260857c5
commit 62efedeecb

View File

@ -4,7 +4,7 @@
<div class="header py-1 py-lg-1 pt-lg-3">
<b-container>
<div class="header-body text-center mb-3">
<a href="#!" @click="$router.go(-1)">
<a href="#!" @click="goback">
<div class="container">
<div class="row">
<div class="col-sm-12 col-md-12 mt-5 mb-5">
@ -1186,7 +1186,7 @@
</b-container>
</div>
<div class="text-center">
<b-button class="test-back" variant="light" @click="$router.go(-1)">
<b-button class="test-back" variant="light" @click="goback">
{{ $t('back') }}
</b-button>
</div>
@ -1218,6 +1218,11 @@ export default {
},
}
},
methods: {
goback() {
this.$router.go(-1)
},
},
}
</script>
<style>