wszhyWx/node_modules/uview-ui/libs/function/toast.js

10 lines
139 B
JavaScript

function toast(title, duration = 1500) {
uni.showToast({
title: title,
icon: 'none',
duration: duration
})
}
export default toast