toast.js 147 B

123456789
  1. function toast(title, duration = 1500) {
  2. uni.showToast({
  3. title: title,
  4. icon: 'none',
  5. duration: duration
  6. })
  7. }
  8. export default toast