From 64812eff85464435fca0e4efc0f3429456dfa083 Mon Sep 17 00:00:00 2001 From: JING Date: Thu, 1 Aug 2024 10:49:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 2 +- pages/user/index.vue | 2 +- pagesA/merge/face_1.vue | 2 +- pagesA/merge/success.vue | 10 +++++++--- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/App.vue b/App.vue index 9320541..8f59485 100644 --- a/App.vue +++ b/App.vue @@ -20,7 +20,7 @@ // #ifdef APP-PLUS // 锁定屏幕方向 - plus.screen.lockOrientation('portrait-primary'); //锁定 + plus.screen.lockOrientation('portrait-primary'); //锁定11 // #endif }, onShow: function() { diff --git a/pages/user/index.vue b/pages/user/index.vue index aa6e48c..26f896f 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -334,7 +334,7 @@ export default { { var _this = this; var post = {page:_this.page,limit:10}; - _this.$api.post(url, post, function(res) { + _this.$api.get(url, post, function(res) { //console.log(res); var d = res; _this.dataList = _this.dataList.concat(d.data); diff --git a/pagesA/merge/face_1.vue b/pagesA/merge/face_1.vue index 4421f28..cf65906 100644 --- a/pagesA/merge/face_1.vue +++ b/pagesA/merge/face_1.vue @@ -308,7 +308,7 @@ _this.$api.post('/api/portrait/check',check_image,function(rs){ uni.hideLoading(); console.log('-------------',rs); - if(rs.status == 0){ + if(rs.status == 1){ //验证成功 _this.uploadFiles = uni.getStorageSync('ai_face_success'); if (!_this.uploadFiles) { diff --git a/pagesA/merge/success.vue b/pagesA/merge/success.vue index 41d9ede..12bafff 100644 --- a/pagesA/merge/success.vue +++ b/pagesA/merge/success.vue @@ -18,7 +18,7 @@ 生成结果 - + @@ -65,8 +65,12 @@ getNavHeight(e) { this.margin_top += e; - } - + }, + backIndex(){ + uni.switchTab({ + url:'/pages/index/index' + }) + }, }