Browse Source

feat: 跟练模式权限优化

TIANYONG 1 year ago
parent
commit
7a5b0a127c
1 changed files with 1 additions and 1 deletions
  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) {
 		//