We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Toast_.success({ message: 'test', onClose: () => { navigateBack(); }, });
The text was updated successfully, but these errors were encountered:
import { Button, View } from '@tarojs/components' import { navigateBack } from '@tarojs/taro' import { Toast } from '@antmjs/vantui' const Toast_ = Toast.createOnlyToast() export default function Index() { const onClick = () => { Toast_.show({ message: '快要返回回了', onClose() { navigateBack() }, }) } return ( <View> <Toast_ /> <Button onClick={onClick}>返回</Button> </View> ) }
没有复现
Sorry, something went wrong.
Uploading 2023.12.22.11.05.mp4…
我附件上传了视频,不知道能不能看,可以按照我这个简单的demo 再试一下,第三页 back 还是跳到 第一页了
3.3.7已修复
No branches or pull requests
Toast_.success({
message: 'test',
onClose: () => {
navigateBack();
},
});
The text was updated successfully, but these errors were encountered: