+
@@ -108,6 +133,7 @@ export default {
{
title: 'Приборная панель',
icon: 'backspace',
+ chosen: false,
suboptions: [
{
title: 'Пользователи',
@@ -129,6 +155,7 @@ export default {
{
title: 'Пользователи',
icon: 'school',
+ chosen: false,
suboptions: [
{
title: 'Пользователи',
@@ -150,6 +177,7 @@ export default {
{
title: 'Дополнительные поля',
icon: 'subdirectory_arrow_left',
+ chosen: false,
suboptions: [
{
title: 'Пользователи',
@@ -171,6 +199,7 @@ export default {
{
title: 'Зоны ответственности',
icon: 'subdirectory_arrow_left',
+ chosen: false,
suboptions: [
{
title: 'Пользователи',
@@ -192,6 +221,12 @@ export default {
]
}
}
+ },
+ methods: {
+ chooseOption (opt) {
+ this.menu.options.forEach(el => { el.chosen = false })
+ opt.chosen = true
+ }
}
}
diff --git a/experra_forum/src/pages/Index.vue b/experra_forum/src/pages/Index.vue
index 7982d8b..586086e 100644
--- a/experra_forum/src/pages/Index.vue
+++ b/experra_forum/src/pages/Index.vue
@@ -1,6 +1,6 @@
-
+
diff --git a/experra_forum/src/pages/Topic.vue b/experra_forum/src/pages/Topic.vue
index be6ecd3..b46afd1 100644
--- a/experra_forum/src/pages/Topic.vue
+++ b/experra_forum/src/pages/Topic.vue
@@ -1,6 +1,6 @@
-
+
diff --git a/experra_forum/src/pages/Topics.vue b/experra_forum/src/pages/Topics.vue
index b94efa3..b7b6160 100644
--- a/experra_forum/src/pages/Topics.vue
+++ b/experra_forum/src/pages/Topics.vue
@@ -1,9 +1,8 @@
-
-
-
-
+
+
+