@@ -245,9 +245,6 @@ class ConversationAnalysisController extends BaseController {
if (selectedAssetList.isNotEmpty) {
_handleSelectedAssetUpload(selectedAssetList);
isUploadPage.value = true;
- } else {
- // 没选择图片,切换到例子视图
- isUploadPage.value = false;
}
@@ -311,7 +311,8 @@ class ConversationAnalysisView
),
child: Obx(() {
// 开始分析中的状态
- if (controller.reportData.value.isEmpty) {
+ if (controller.isResultGenerating.value &&
+ controller.reportData.value.isEmpty) {
return Container(
padding: EdgeInsets.only(top: 33.h, bottom: 52.h),
child: CreatingLoadingWidget(