diff --git a/common/upload.js b/common/upload.js index 920ec99..b388ac2 100644 --- a/common/upload.js +++ b/common/upload.js @@ -16,7 +16,7 @@ const chooseFile = function (action = 'chooseImage', opt = {}) { ...opts, success: function (res) { // 返回选定照片的本地文件路径列表,tempFilePath可以作为img标签的src属性显示图片 - var tempFilePaths = res.tempFilePaths || [res.tempFilePath]debugger + var tempFilePaths = res.tempFilePaths || [res.tempFilePath] if (tempFilePaths.length > opts.count) { reject() return showToast(`最多选择${opts.count}个`) diff --git a/components/tpx-image/tpx-image.vue b/components/tpx-image/tpx-image.vue index 5abd1ff..9848139 100644 --- a/components/tpx-image/tpx-image.vue +++ b/components/tpx-image/tpx-image.vue @@ -1,15 +1,37 @@ \ No newline at end of file diff --git a/pages/user/certification.vue b/pages/user/certification.vue index c80517b..e8aefb6 100644 --- a/pages/user/certification.vue +++ b/pages/user/certification.vue @@ -20,13 +20,13 @@ - - + + - - + +