diff --git a/pages/index/index.vue b/pages/index/index.vue index f830b12..a476927 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -497,7 +497,7 @@ return } - if (!this.images || this.images.length == 0) { + if (!this.images) { uni.showToast({ title: '请上传图片再完成', icon: 'none' @@ -765,8 +765,8 @@ url: '/infra/file/upload', filePath: url, }).then((res) => { - console.log('images', res.data.url); - this.images.push(res.data.url) + console.log('images', res.data); + this.images.push(res.data) }) }, diff --git a/pages/login/login.vue b/pages/login/login.vue index 318e72d..1b5768a 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -52,7 +52,7 @@