109.42c9d6861f58648e1157.js 1.9 KB

1
  1. webpackJsonp([109],{G0GZ:function(t,e){},uIeo:function(t,e,c){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=c("TIfe"),o={methods:{clear_cache:function(){var t=this;this.$dialog.confirm({title:"清除缓存",message:"您确定要清除缓存吗?"}).then(function(){t.$store.dispatch("clear_cache"),t.$toast("清除成功")}).catch(function(){})},logout:function(){var t=this;this.$dialog.confirm({title:"退出登录",message:"您确定要退出吗?"}).then(function(){Object(s.c)(),window.plus?plus.storage.removeItem("user_info"):localStorage.removeItem("user_info"),t.$store.dispatch("clear_cache"),t.$router.push({name:"login"})}).catch(function(){})}},data:function(){return{userinfo:this.$store.getters.user_info}}},a={render:function(){var t=this,e=t.$createElement,c=t._self._c||e;return c("div",{staticClass:"user_setting_box",staticStyle:{"background-color":"#f5f5f5"}},[c("van-nav-bar",{attrs:{title:"设置","left-text":"返回","left-arrow":""},on:{"click-left":t.$route_back}}),t._v(" "),c("div",{staticClass:"user_index_scroller_com"},[c("scroller",[c("van-cell-group",{staticClass:"user-group"},[c("van-cell",{attrs:{icon:"user-circle-o",title:"账号与安全","is-link":"",to:"/safe"}})],1),t._v(" "),c("van-cell-group",{staticClass:"user-group"},[c("van-cell",{attrs:{icon:"comment-o",title:"帮助与反馈","is-link":"",to:"/help"}}),t._v(" "),c("van-cell",{attrs:{icon:"setting-o",title:"关于","is-link":"",to:"/about"}})],1),t._v(" "),c("van-cell-group",{staticClass:"user-group"},[c("van-cell",{attrs:{icon:"brush-o",title:"清除缓存","is-link":""},on:{click:t.clear_cache}})],1),t._v(" "),c("div",{staticStyle:{padding:"0.32rem"}},[c("van-button",{attrs:{size:"large"},on:{click:t.logout}},[t._v("退出登录")])],1)],1)],1)],1)},staticRenderFns:[]};var i=c("VU/8")(o,a,!1,function(t){c("G0GZ")},"data-v-0f3ebc88",null);e.default=i.exports}});