智能照明系统APP-本地串口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
LightingSystemApp-serial/.svn/pristine/23/234f8a76ac4d1a39a1df2f8ccc7...

11 lines
247 B

import getRealPath from 'uni-platform/helpers/get-real-path'
export const saveImageToPhotosAlbum = {
filePath: {
type: String,
required: true,
validator (filePath, params) {
params.filePath = getRealPath(filePath)
}
}
}