Commit 1fe35bca authored by 吴颖's avatar 吴颖

Merge branch 'wuying' into 'master'

Wuying

See merge request !65
parents 4492ac97 ec3cfc15
......@@ -64,11 +64,11 @@ Page({
wx.chooseVideo({
sourceType: ['album', 'camera'],
camera: 'back',
compressed: false,
compressed: true,
success(res) {
console.log(res)
var tempFilePaths = [res.tempFilePath]
if (Math.round(res.size / 1024 / 1024) < 25) {
if (Math.round(res.size / 1024 / 1024) < 50) {
qiniuUploader.upload(0, tempFilePaths, (res) => {
console.log(res)
let option = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment