import { getTime } from "@Global/utils/date/time"; export default { setCurrentTime:({ commit }) => { commit('SET_CURRENT_TIME', getTime()); setInterval(function() { commit('SET_CURRENT_TIME', getTime()); }, 2000); }, }