提交 69a59145 编写于 作者: VK1688's avatar VK1688

【修复】u-subsection 监听事件细节处理问题

上级 6c090371
......@@ -129,19 +129,17 @@
valueCom: {
immediate: true,
handler(nVal) {
if (nVal) {
this.currentIndex = nVal;
this.changeSectionStatus(nVal);
}
if (!nVal) nVal = 0;
this.currentIndex = nVal;
this.changeSectionStatus(nVal);
}
},
current: {
immediate: true,
handler(nVal) {
if (nVal) {
this.currentIndex = nVal;
this.changeSectionStatus(nVal);
}
if (!nVal) nVal = this.valueCom || 0;
this.currentIndex = nVal;
this.changeSectionStatus(nVal);
}
},
list: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册