import Cookie from "@/util/cookie"; const mutations={ setToken(state,token){ state.token=token; localStorage.setItem('cc_token',token); }, transitionGo(state){ state.transitionName='slide-left'; }, transitionBack(state){ state.transitionName='slide-right'; }, isMobile(state,flag){ state.isMobile = flag }, isWatchDetail(state,data){ state.watchDetail=data; }, isClassQuery(state,data){ state.classQuery=data; }, isCouponShadow(state,data){ state.couponShadow=data; }, isLookStatus(state,data){ state.lookStatus=data; }, isTimeout(state,data){ state.timeout=data; }, setTest(state,data){ state.test=data; }, }; export default mutations;