You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import { getTime } from "@Global/utils/date/time";
|
|
|
|
export default {
|
|
|
|
setCurrentTime:({ commit }) => {
|
|
|
|
commit('SET_CURRENT_TIME', getTime());
|
|
|
|
setInterval(function() {
|
|
|
|
commit('SET_CURRENT_TIME', getTime());
|
|
|
|
}, 2000);
|
|
|
|
},
|
|
|
|
}
|