From a037031cef94caba96c566f829d06baa94f32f17 Mon Sep 17 00:00:00 2001 From: wanglei Date: Tue, 18 Jun 2024 15:10:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=A3=E6=A1=88=E9=87=87=E9=9B=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dangan-ui/src/views/dangan/collection/index.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/dangan-ui/src/views/dangan/collection/index.vue b/dangan-ui/src/views/dangan/collection/index.vue index 4d9dce2..d7006df 100644 --- a/dangan-ui/src/views/dangan/collection/index.vue +++ b/dangan-ui/src/views/dangan/collection/index.vue @@ -219,8 +219,8 @@ export default { return { // 颜色模式,0:黑白 1:灰色 2:彩色 pixel: 1, - // 是否双面 - single: false, + // 是否单面 + single: true, // 是否去白页 white: false, // 分辨率 @@ -397,9 +397,9 @@ export default { this.$refs.tree.setCurrentKey(this.$route.query.id); this.dangAnNode = this.$refs.tree.getNode(this.$route.query.id); if(this.dangAnNode.data.ywType==='option1'){ - this.single = true; - }else { this.single = false; + }else { + this.single = true; } }); } @@ -415,9 +415,9 @@ export default { this.dangAnID = data.id; this.dangAnNode = Node; if(this.dangAnNode.data.ywType==='option1'){ - this.single = true; - }else { this.single = false; + }else { + this.single = true; } }, /** 点击上传操作 */ @@ -573,7 +573,7 @@ export default { OCRRecognition(){ let arr = []; let singeOrDouble = 0 - if(this.single){ + if(!this.single){ singeOrDouble = 1 } this.pictureRecard.forEach(item => {