Commit 2d7f7c6a authored by zhangyanni's avatar zhangyanni

tab切换slider隐藏

parent 5c8a13d5
......@@ -116,8 +116,11 @@
//tab切换
handleTab(tab){
if(tab.name==="first") this.$refs["emailYzCodeForm"].resetFields();
this.$refs["emailForm"].resetFields();
if(tab.name==="first") {
this.$refs["emailYzCodeForm"].resetFields();
this.isShowSlider =false;
}
else this.$refs["emailForm"].resetFields();
},
//注册
......
......@@ -103,8 +103,11 @@
//切换
handleTab(tab){
if(tab.name==="first") this.$refs["yzCodeForm"].resetFields();
this.$refs["loginForm"].resetFields();
if(tab.name==="first"){
this.$refs["yzCodeForm"].resetFields();
this.isShowSlider = false;
}
else this.$refs["loginForm"].resetFields();
},
......
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