From 1ed534cfa6a12686680cc80e74b8d0b647844073 Mon Sep 17 00:00:00 2001
From: aihe <961836564@qq.com>
Date: Tue, 12 Dec 2023 15:00:16 +0800
Subject: [PATCH] uu
---
common/upload.js | 2 +-
components/tpx-image/tpx-image.vue | 24 +++++++++-
components/tpx-upload/tpx-upload.vue | 65 ++++++++++++++++++++--------
pages/user/certification.vue | 8 ++--
4 files changed, 76 insertions(+), 23 deletions(-)
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 @@
-
-
+
+
-
-
+
+