提交 6d9d2492 编写于 作者: guangjun.yang's avatar guangjun.yang

请输入激活码

上级 28d56249
...@@ -82,7 +82,10 @@ export default { ...@@ -82,7 +82,10 @@ export default {
this.$emit("cancle"); this.$emit("cancle");
}, },
confirm() { confirm() {
if(!this.activationCode ) return; if(!this.activationCode) {
this.errorMsg = '请输入激活码';
return;
};
if(this.activationCode.length != 23) { if(this.activationCode.length != 23) {
this.errorMsg = '请输入正确的激活码'; this.errorMsg = '请输入正确的激活码';
return; return;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册