优化功能
This commit is contained in:
@ -167,3 +167,12 @@ export function getCurrentDate() {
|
||||
return `${year}-${month}-${day}`;
|
||||
}
|
||||
|
||||
/**
|
||||
* 预览图片
|
||||
*/
|
||||
export function previewImage(current: string, urls: string[]) {
|
||||
uni.previewImage({
|
||||
current,
|
||||
urls
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user