diff --git a/src/pages/analytics/study.vue b/src/pages/analytics/study.vue
index 4ff330f4..67859d6c 100644
--- a/src/pages/analytics/study.vue
+++ b/src/pages/analytics/study.vue
@@ -35,7 +35,7 @@
{{statisticsObj.completeCrsCnt }}
- 次
+
@@ -53,7 +53,7 @@
{{statisticsObj.completeTaskCnt }}
- 次
+
@@ -62,7 +62,7 @@
{{statisticsObj.completedExamCnt }}
- 次
+
diff --git a/src/pages/sparring/components/touchBtn.vue b/src/pages/sparring/components/touchBtn.vue
index 3bfb8f47..f75e6813 100644
--- a/src/pages/sparring/components/touchBtn.vue
+++ b/src/pages/sparring/components/touchBtn.vue
@@ -119,9 +119,14 @@
const IsAndEnv = getPhoneEnvBool('AND');
const isStartNum = ref(0);
const isStopNum = ref(0);
+ const isGettingPermission = ref(false)
const initRecord = () => {
recordObjCom.value = uni.getRecorderManager();
unref(recordObjCom)?.onStop((res, duration) => {
+ if(isGettingPermission.value){
+ isGettingPermission.value = false
+ return
+ }
audioPath.value = res.tempFilePath;
if (!isOut.value) {
if (startFlag.value !== 2) {
@@ -239,11 +244,14 @@
if (_recordPerm !== 1) {
common.show('提示信息', '当前页面需要使用的录音权限,是否前往开启?', true, '取消', '确定').then((res) => {
if (res) {
+ isGettingPermission.value = true
+ hideOverlayTalking()
// 去开启权限
permission.gotoAppPermissionSetting();
} else {
// 取消
common.navigateBack();
+ hideOverlayTalking()
}
});
return false
@@ -256,11 +264,14 @@
if (_state === 'denied') {
common.show('提示信息', '当前页面需要使用的录音权限,是否前往开启?', true, '取消', '确定').then((res) => {
if (res) {
+ isGettingPermission.value = true
+ hideOverlayTalking()
// 去开启权限
uni.openAppAuthorizeSetting();
} else {
// 取消
common.navigateBack();
+ hideOverlayTalking()
}
});
return false
diff --git a/src/pages/sparring/result.vue b/src/pages/sparring/result.vue
index 93b4b578..1e0f184e 100644
--- a/src/pages/sparring/result.vue
+++ b/src/pages/sparring/result.vue
@@ -60,7 +60,9 @@
得分
{{ totalScore }}
- {{!isPass?'你这个得分,不容易啊!':'恭喜阁下过关斩将,顺利通关!'}}
+ {{'朋友,你挺能说违禁词啊!'}}
+ 以下均为违禁词:{{'违禁词'}}
+ {{!isPass?'你这个得分,不容易的!':'恭喜阁下过关斩将,顺利通关!'}}