|
@@ -5,7 +5,7 @@ const tagsView = {
|
|
},
|
|
},
|
|
mutations: {
|
|
mutations: {
|
|
ADD_VISITED_VIEWS: (state, view) => {
|
|
ADD_VISITED_VIEWS: (state, view) => {
|
|
- // console.log(view)
|
|
|
|
|
|
+ console.log(view)
|
|
if (state.visitedViews.some(v => v.path === view.path)) {
|
|
if (state.visitedViews.some(v => v.path === view.path)) {
|
|
state.visitedViews.forEach(v => {
|
|
state.visitedViews.forEach(v => {
|
|
if (v.path === view.path) {
|
|
if (v.path === view.path) {
|