Selaa lähdekoodia

feat: 谱面元素编辑

TIANYONG 1 vuosi sitten
vanhempi
commit
1f12cc78e7
1 muutettua tiedostoa jossa 2 lisäystä ja 6 poistoa
  1. 2 6
      src/view/selection/index.tsx

+ 2 - 6
src/view/selection/index.tsx

@@ -204,14 +204,10 @@ export default defineComponent({
 		});
 		onMounted(() => {
 			calcNoteData();
-			// 初始化移动
+			// 初始化谱面可移动的元素位置
 			try {
 			moveData.partIndex = query['part-index'] as string || '0'
-			console.log(6666,moveData.partIndex,query['part-index'])
-			
-			setTimeout(() => {
-				renderForMoveData()
-			}, 1);
+			renderForMoveData()
 			} catch (error) {}
 		});
 		return () => (