添加导入导出配置功能

This commit is contained in:
Peng-YM
2020-09-18 12:56:37 +08:00
parent af9f96d101
commit 05f746571a
4 changed files with 77 additions and 10 deletions

View File

@@ -8,6 +8,7 @@ const store = new Vuex.Store({
state: {
title: "Sub-Store",
isDarkMode: false,
clipboard: "",
successMessage: "",
errorMessage: "",
@@ -19,6 +20,9 @@ const store = new Vuex.Store({
},
mutations: {
COPY(state, text) {
state.clipboard = text;
},
// UI
SET_NAV_TITLE(state, title) {
state.title = title;
@@ -33,7 +37,8 @@ const store = new Vuex.Store({
SET_ERROR_MESSAGE(state, msg) {
state.errorMessage = msg;
}
},
},
actions: {