Your Site Title

Uniapp modal

const modal = uni.requireNativePlugin('modal');
modal.toast({
    message: ret,
    duration: 1.5
});

Reference