提交 e3089cd4 authored 作者: zs's avatar zs

日志新增登录/修改密码

上级 0b1cf98e
...@@ -131,8 +131,18 @@ ...@@ -131,8 +131,18 @@
if(res.data){ if(res.data){
uni.showToast({ uni.showToast({
title: "恭喜您,密码更新成功!", title: "恭喜您,密码更新成功!",
icon:"none",
duration: 3000, duration: 3000,
}); });
const logContent = getLogContent(
LOG_TYPE_ENUM.updatePassword,
"",
"其他"
);
const log_list = this.$store.state.log_list;
log_list.push(logContent);
this.$store.commit("SET_LOG_LIST", log_list);
addLog(log_list).then((res) => {});
this.logOut(); this.logOut();
}else{ }else{
uni.showToast({ uni.showToast({
......
差异被折叠。
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论