Explorar o código

Merge branch 'feature-tianyong'

TIANYONG hai 1 ano
pai
achega
7396b555fd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/view/selection/index.tsx

+ 1 - 1
src/view/selection/index.tsx

@@ -169,7 +169,7 @@ export default defineComponent({
 					}
 					if (state.section.length === 2) {
 						// 实际的结束位置
-						const actualEndIndex = state.userChooseEndIndex
+						const actualEndIndex = state.userChooseEndIndex > state.section[1].MeasureNumberXML ? state.userChooseEndIndex : state.section[1].MeasureNumberXML
 						// 选段预备拍背景
 						if (state.sectionFirst && item.MeasureNumberXML === state.sectionFirst.MeasureNumberXML) {
 							return styles.prepareStaveBox;