diff --git a/uni_modules/vk-uview-ui/components/u-subsection/u-subsection.vue b/uni_modules/vk-uview-ui/components/u-subsection/u-subsection.vue index 634ffa7eabfc5ef9b2891d77634add073a0d4bf3..7915516e2131b419e64733c044c1f6db4b4cc116 100644 --- a/uni_modules/vk-uview-ui/components/u-subsection/u-subsection.vue +++ b/uni_modules/vk-uview-ui/components/u-subsection/u-subsection.vue @@ -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: {