mirror of
https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-10 00:52:40 +00:00
添加导入导出配置功能
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user