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'
+ })
+ },
}