提交 28d56249 编写于 作者: guangjun.yang's avatar guangjun.yang

解决三个小问题

上级 928be145
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<section class="input-wrapper"> <section class="input-wrapper">
<article class="code"> <article class="code">
<van-field <van-field
maxlength="23" maxlength="26"
v-model="activationCode" v-model="activationCode"
label="激活码" label="激活码"
placeholder="请输入激活码" placeholder="请输入激活码"
...@@ -49,8 +49,8 @@ export default { ...@@ -49,8 +49,8 @@ export default {
data() { data() {
return { return {
activationCode: "", activationCode: '',
errorMsg: '请输入激活码' errorMsg: ''
}; };
}, },
...@@ -70,6 +70,10 @@ export default { ...@@ -70,6 +70,10 @@ export default {
if(val) { if(val) {
this.errorMsg = val; this.errorMsg = val;
} }
},
isShow(val) {
this.activationCode = '';
this.errorMsg = '';
} }
}, },
......
...@@ -386,6 +386,7 @@ export default { ...@@ -386,6 +386,7 @@ export default {
_this.changeCardErrorMsg = "请输入正确的激活码"; _this.changeCardErrorMsg = "请输入正确的激活码";
} else { } else {
_this.showChangeCard = false; _this.showChangeCard = false;
Toast("激活成功,开始学习");
_this.getProjectParticularsV2(); _this.getProjectParticularsV2();
} }
} else { } else {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册