10 lines
147 B
JavaScript
10 lines
147 B
JavaScript
|
function toast(title, duration = 1500) {
|
||
|
uni.showToast({
|
||
|
title: title,
|
||
|
icon: 'none',
|
||
|
duration: duration
|
||
|
})
|
||
|
}
|
||
|
|
||
|
export default toast
|