fix: 更新错误提示信息以改善用户体验
This commit is contained in:
parent
2dec37614a
commit
b98e706fa9
|
|
@ -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
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue