logout() { this.$confirm("你确定退出吗?", "提示:", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then(x => { localStorage.removeItem("token"); location.reload(); }); }
vue-element-dialog使用
猜你喜欢
转载自www.cnblogs.com/huanhuan55/p/9989405.html
今日推荐
周排行