Skip to content
This repository was archived by the owner on Mar 26, 2023. It is now read-only.

Commit ecbaabd

Browse files
author
Dyakov Roman
authored
Fix no title
1 parent 98ff274 commit ecbaabd

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/views/Services.vue

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,17 @@ export default {
3838
props: {
3939
mobile: Boolean,
4040
},
41-
async beforeMount() {
41+
mounted() {
42+
document.dispatchEvent(
43+
new CustomEvent("change-header-layout", {
44+
detail: {
45+
layoutName: "plain",
46+
text: "Твой физфак!",
47+
},
48+
})
49+
);
50+
},
51+
updated() {
4252
document.dispatchEvent(
4353
new CustomEvent("change-header-layout", {
4454
detail: {
@@ -47,6 +57,8 @@ export default {
4757
},
4858
})
4959
);
60+
},
61+
async beforeMount() {
5062
try {
5163
try {
5264
let res = await fetch(`${process.env.VUE_APP_API_NAVBAR}/apps`);

0 commit comments

Comments
 (0)