From 768099f8d5a3db827129e9a820ebc74d89490706 Mon Sep 17 00:00:00 2001 From: tanlongsheng <252620078@qq.com> Date: Sat, 29 Nov 2025 16:02:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dagent=E6=96=B0=E6=89=8B?= =?UTF-8?q?=E6=8C=87=E5=BC=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/modules/agent/views/agent_view.dart | 26 +++++-------------------- 1 file changed, 5 insertions(+), 21 deletions(-) diff --git a/lib/modules/agent/views/agent_view.dart b/lib/modules/agent/views/agent_view.dart index 07840261e..075ed4292 100644 --- a/lib/modules/agent/views/agent_view.dart +++ b/lib/modules/agent/views/agent_view.dart @@ -342,11 +342,7 @@ class _AgentViewState extends State with WidgetsBindingObserver { overlayBuilder: (params) { return IntroOverlayBuilder.aiBuilder( params, - controller - .noviceGuideService - .aiStepsList[controller - .noviceGuideService - .aiStep]['endKey'] + '${controller.noviceGuideService.aiStepsList[controller.noviceGuideService.aiStep]['endKey']}' .tr, onFinish: () async { if (controller @@ -638,29 +634,17 @@ class _AgentViewState extends State with WidgetsBindingObserver { overlayBuilder: (params) { return IntroOverlayBuilder.aiBuilder( params, - controller - .noviceGuideService - .aiStepsList[controller - .noviceGuideService - .aiStep]['startKey'] + '${controller.noviceGuideService.aiStepsList[controller.noviceGuideService.aiStep]['startKey']}' .tr, buttonText: 'confirmInput'.tr, onNext: () { controller.textController.text = - controller - .noviceGuideService - .aiStepsList[controller - .noviceGuideService - .aiStep]['inputKey'] + '${controller.noviceGuideService.aiStepsList[controller.noviceGuideService.aiStep]['inputKey']}' .tr; }, onTap: () { controller.textController.text = - controller - .noviceGuideService - .aiStepsList[controller - .noviceGuideService - .aiStep]['inputKey'] + '${controller.noviceGuideService.aiStepsList[controller.noviceGuideService.aiStep]['inputKey']}' .tr; params.onNext!(); }, @@ -885,7 +869,7 @@ class _AgentViewState extends State with WidgetsBindingObserver { overlayBuilder: (params) { return IntroOverlayBuilder.aiBuilder( params, - '${'guideClickSendPrefix'.tr}${controller.noviceGuideService.aiStepsList[controller.noviceGuideService.aiStep]['sendKey'].tr}', + '${'guideClickSendPrefix'.tr}${'${controller.noviceGuideService.aiStepsList[controller.noviceGuideService.aiStep]['sendKey']}'.tr}', alignment: false, onTap: () async { await controller