ucToast 支持position:top/bottom

This commit is contained in:
Luk Lu
2020-08-17 07:56:42 +08:00
parent 7bec07d04b
commit a2d4c4b9af
2 changed files with 246 additions and 239 deletions

View File

@@ -112,7 +112,7 @@ module.exports = {
cloudPath = tempFiles[0].name
// #endif
} else if (mediaType === 'video') {
let [errorChoose, { tempFilePath, tempFile, name }] = await uni.chooseVideo({ sourceType })
let [errorChoose, { tempFilePath, tempFile, duration, size, width, height, name }] = await uni.chooseVideo({ sourceType })
filePath = tempFilePath
cloudPath = 'cloud.mp4'
// #ifdef H5