fix: 更新错误提示信息以改善用户体验
This commit is contained in:
parent
2dec37614a
commit
b98e706fa9
|
|
@ -98,8 +98,8 @@ export default function Home() {
|
|||
} catch (e) {
|
||||
// 处理失败
|
||||
Taro.showToast({
|
||||
title: (e as Error).message || '处理失败',
|
||||
icon: 'error',
|
||||
title: '请等待生成中的任务完成后再尝试',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
})
|
||||
}
|
||||
|
|
@ -145,4 +145,4 @@ export default function Home() {
|
|||
</ScrollView>
|
||||
</View>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue