Browse Source

优化退出登录

weicu
tanlongsheng 11 months ago
parent
commit
94c109c90d
  1. 3
      lib/data/services/meeting/meeting_task_service.dart
  2. 2
      lib/modules/splash/controllers/splash_controller.dart

3
lib/data/services/meeting/meeting_task_service.dart

@ -332,7 +332,8 @@ class MeetingTaskService extends GetxService {
Logger.info("lxm---大模型asr响应体结果$respDic['result']['text']"); Logger.info("lxm---大模型asr响应体结果$respDic['result']['text']");
if (respDic['result']['text'] != null) { if (respDic['result']['text'] != null &&
respDic['result']['text'] != '') {
await _addTextList( await _addTextList(
item['id'], //会议ID item['id'], //会议ID
respDic['result']['utterances'], //语音转文字结果 respDic['result']['utterances'], //语音转文字结果

2
lib/modules/splash/controllers/splash_controller.dart

@ -268,6 +268,8 @@ class SplashController extends GetxController {
if (token != null && token.isNotEmpty && isAppConfigInitialized) { if (token != null && token.isNotEmpty && isAppConfigInitialized) {
Get.offAllNamed(Routes.pairing); Get.offAllNamed(Routes.pairing);
} else { } else {
_storage.remove('operation_records');
_storage.remove('operation_delids');
Get.offAllNamed(Routes.login); Get.offAllNamed(Routes.login);
} }
} }

Loading…
Cancel
Save