chore: 前端其余页面和资源文件
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
let toast = (text,callback,duration=2000,icon='none', position='bottom', image = '',mask=true) =>{
|
||||
uni.showToast({
|
||||
title: text,
|
||||
icon: icon,
|
||||
duration:duration,
|
||||
mask: mask,
|
||||
image: image,
|
||||
position: position,
|
||||
success() {
|
||||
callback&&callback()
|
||||
}
|
||||
})
|
||||
}
|
||||
export default toast
|
||||
Reference in New Issue
Block a user