소스 검색

feat: 跟练模式权限优化

TIANYONG 1 년 전
부모
커밋
7a5b0a127c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/view/follow-practice/index.tsx

+ 1 - 1
src/view/follow-practice/index.tsx

@@ -70,7 +70,7 @@ const onClear = () => {
 
 /** 开始跟练 */
 export const handleFollowStart = async () => {
-	const res = api_cloudToggleFollow("start");
+	const res = await api_cloudToggleFollow("start");
 	// 用户没有授权,需要重置状态
 	if (res?.content?.reson) {
 		//