lottery-flip-card/libs/function/toast.js

10 lines
139 B
JavaScript
Raw Normal View History

2024-05-30 11:01:36 +08:00
function toast(title, duration = 1500) {
uni.showToast({
title: title,
icon: 'none',
duration: duration
})
}
export default toast