|  | @@ -23,10 +23,13 @@ export default defineComponent({
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  |    setup(props) {
 |  |    setup(props) {
 | 
											
												
													
														|  |      const list = ref(props.imgList)
 |  |      const list = ref(props.imgList)
 | 
											
												
													
														|  | 
 |  | +    const swipeRef = ref()
 | 
											
												
													
														|  |      watch(
 |  |      watch(
 | 
											
												
													
														|  |        () => props.imgList,
 |  |        () => props.imgList,
 | 
											
												
													
														|  |        (val: any) => {
 |  |        (val: any) => {
 | 
											
												
													
														|  |          list.value = val
 |  |          list.value = val
 | 
											
												
													
														|  | 
 |  | +        acitveIndex.value = 0
 | 
											
												
													
														|  | 
 |  | +        if (swipeRef.value) swipeRef.value.swipeTo(0)
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  |      )
 |  |      )
 | 
											
												
													
														|  |      const acitveIndex = ref(0)
 |  |      const acitveIndex = ref(0)
 | 
											
										
											
												
													
														|  | @@ -82,6 +85,7 @@ export default defineComponent({
 | 
											
												
													
														|  |              <h2>{props.musicSheetName}</h2>
 |  |              <h2>{props.musicSheetName}</h2>
 | 
											
												
													
														|  |              <div class={styles.musicImg}>
 |  |              <div class={styles.musicImg}>
 | 
											
												
													
														|  |                <Swipe
 |  |                <Swipe
 | 
											
												
													
														|  | 
 |  | +                ref={swipeRef}
 | 
											
												
													
														|  |                  showIndicators={false}
 |  |                  showIndicators={false}
 | 
											
												
													
														|  |                  loop={false}
 |  |                  loop={false}
 | 
											
												
													
														|  |                  onChange={(index: number) => {
 |  |                  onChange={(index: number) => {
 |