--对接地址列表
This commit is contained in:
@@ -87,6 +87,31 @@ export const retrieval = (data: any, message: string="请填写完信息", rules
|
||||
resolve(null);
|
||||
})
|
||||
}
|
||||
/**
|
||||
* toast提示
|
||||
*/
|
||||
export const alert = {
|
||||
success(title: string){
|
||||
Taro.showToast({
|
||||
title,icon: "success"
|
||||
})
|
||||
},
|
||||
error(title: string){
|
||||
Taro.showToast({
|
||||
title,icon: "error"
|
||||
})
|
||||
},
|
||||
loading(title: string){
|
||||
Taro.showToast({
|
||||
title,icon: "loading"
|
||||
})
|
||||
},
|
||||
none(title: string){
|
||||
Taro.showToast({
|
||||
title,icon: "none"
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
// 金额千位分割符
|
||||
export const formatKbPrice = (number: string) => {
|
||||
|
||||
Reference in New Issue
Block a user