Browse Source

Merge branch 'feature-tianyong'

TIANYONG 1 year ago
parent
commit
7396b555fd
1 changed files with 1 additions and 1 deletions
  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;