From 4e4a8690dc1754cfc7c6368730829c814e093a81 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 12 Jan 2022 08:47:18 +0800
Subject: [PATCH] 部分更改
---
src/store/modules/viewer.js | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/store/modules/viewer.js b/src/store/modules/viewer.js
index 089c0ad..7c0be15 100644
--- a/src/store/modules/viewer.js
+++ b/src/store/modules/viewer.js
@@ -2,12 +2,16 @@
state: {
viewer: null,
visitedViews: [],
- cachedViews: []
+ cachedViews: [],
+ twoOrThree: '2.5维'
},
mutations: {
SET_VIEWER (state, viewer) {
state.viewer = viewer
},
+ SET_TWOORTHREE (state, twoOrThree) {
+ state.twoOrThree = twoOrThree
+ },
DEL_VISITED_VIEWS: (state, view) => {
for (const [i, v] of state.visitedViews.entries()) {
if (v.path === view.path) {
--
Gitblit v1.9.3