OSDN Git Service

Add the asset list page.
[bytom/Byone.git] / src / store / mutations.js
index f2365f7..96345d8 100644 (file)
@@ -10,6 +10,7 @@ export const mutations = {
     [Mutations.PUSH_PROMPT]:(state, prompt) => state.prompt = prompt,
     [Mutations.SET_LIST_VOTE]:(state, listVote) => state.listVote = listVote,
     [Mutations.SET_SELECTED_VOTE]:(state, selectVote) => state.selectVote = selectVote,
+    [Mutations.SET_CURRENT_ASSET]:(state, currentAsset) => state.currentAsset = currentAsset,
 
   // [Mutations.SET_AUTO_LOCK]:(state, inactivityInterval) =>
     //     state.bytom.settings.inactivityInterval = TimingHelpers.minutes(inactivityInterval),