提交 c7092304 编写于 作者: tony001's avatar tony001

调整状态向导面板 --- fix5

上级 3a0f01d2
...@@ -408,6 +408,7 @@ ...@@ -408,6 +408,7 @@
*/ */
public handleClose(name:string){ public handleClose(name:string){
this.stepVisiable[name] = false; this.stepVisiable[name] = false;
(this.$refs[name+'_popover'] as any).showPopper = false;
} }
/** /**
...@@ -419,6 +420,9 @@ ...@@ -419,6 +420,9 @@
let activeIndex:number = this.wizardForms.indexOf(this.activeForm); let activeIndex:number = this.wizardForms.indexOf(this.activeForm);
let curIndex:number = this.wizardForms.indexOf(name); let curIndex:number = this.wizardForms.indexOf(name);
if(curIndex > activeIndex){ if(curIndex > activeIndex){
setTimeout(() =>{
(this.$refs[name+'_popover'] as any).showPopper = false;
},0)
return; return;
} }
this.stepVisiable[name] = !this.stepVisiable[name]; this.stepVisiable[name] = !this.stepVisiable[name];
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册