fix: 更新错误提示信息以改善用户体验

This commit is contained in:
iHeyTang 2025-09-05 00:45:17 +08:00
parent 2dec37614a
commit b98e706fa9
1 changed files with 3 additions and 3 deletions

View File

@ -98,8 +98,8 @@ export default function Home() {
} catch (e) { } catch (e) {
// 处理失败 // 处理失败
Taro.showToast({ Taro.showToast({
title: (e as Error).message || '处理失败', title: '请等待生成中的任务完成后再尝试',
icon: 'error', icon: 'none',
duration: 2000 duration: 2000
}) })
} }
@ -145,4 +145,4 @@ export default function Home() {
</ScrollView> </ScrollView>
</View> </View>
) )
} }