提交 f093408f 编写于 作者: C catchme

修改没有输入用户名时,点击确认修改,没有检测输入值,仍然能修改用户名为空

上级 b231a262
......@@ -39,7 +39,7 @@
},
mounted(){
},
computed:{
...mapState([
......@@ -56,23 +56,29 @@
this.earn=false;
this.bordercolor=true;
this.opacityall=false;
return false;
}else{
this.earn=true;
this.bordercolor=false;
this.opacityall=true;
return true;
}
},
resetName(){
let checkResult = this.inputThing();
if (!checkResult) {
return;
}
this.RETSET_NAME(this.inputValue);
this.$router.go(-1);
}
}
}
</script>
<style lang="scss" scoped>
@import 'src/style/mixin';
.rating_page{
position: absolute;
top: 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册