Commit 66515565 authored by zhangyanni's avatar zhangyanni

用户需知是否出现

parent ff9775f4
......@@ -19,7 +19,7 @@
</div>
</div>
<userKnow></userKnow>
<userKnow v-if="userKnow"></userKnow>
</div>
</template>
......@@ -39,7 +39,8 @@
return{
activeName:"first",
visible:false,
canLastStep:false
canLastStep:false,
userKnow:false
}
},
methods:{
......@@ -50,8 +51,12 @@
if(res.result==1) {
that.visible = true
that.activeName = "second";
this.userKnow = false;
}
else {
that.visible = false;
this.userKnow = true;
}
else that.visible = false;
}else{
that.$message.error(res.msg);
}
......@@ -63,6 +68,7 @@
this.checkIsAlreadyAdd();
this.canLastStep = true;
}
},
mounted(){
this.checkIsAlreadyAdd();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment