使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
注册
登录
bjquanjiang
/
pinganxiaoyuan
关注
1
点赞
0
派生
0
代码
工单
0
合并请求
0
版本发布
0
百科
动态
浏览代码
登录页完善
master
yxq
6 个月前
父节点
a7df35ce1b
当前提交
61ac603772
共有
1 个文件被更改
,包括
2 次插入
和
0 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+2
-0
monitorMobile/pages/login.vue
+ 2
- 0
monitorMobile/pages/login.vue
查看文件
@@ -83,10 +83,12 @@
methods: {
async login() {
this.$refs.uForm.validate().then(() => {
this.isLoading = true
login({
...this.form,
password: smCrypto.doSm2Encrypt(this.form.password)
}).then(res => {
this.isLoading = false
if (res.code != 200) return
let data = res.data
this.$store.dispatch('setToken', {
撰写
预览
正在加载...
取消
保存