From 2d8d289462f827768c9b8d8be956c7857c1c0f0e Mon Sep 17 00:00:00 2001 From: liaoxinyu Date: Fri, 12 Sep 2025 10:17:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B8=81=E5=B8=81=E5=8F=B3?= =?UTF-8?q?=E4=BE=A7=E6=95=B0=E6=8D=AE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layout/vDropdwon.vue | 4 ++-- pages/exchange/sell-and-buy.vue | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/layout/vDropdwon.vue b/layout/vDropdwon.vue index 92997bf..b2ae6fd 100644 --- a/layout/vDropdwon.vue +++ b/layout/vDropdwon.vue @@ -58,7 +58,7 @@ export default { leverShow:{ deep: true, handler:function(newVal,oldVal) { - console.log(newVal, '下拉组件leverShow更新'); + // console.log(newVal, '下拉组件leverShow更新'); this.$nextTick(() => { this.text=this.list[newVal].label; }) @@ -67,7 +67,7 @@ export default { list:{ deep: true, handler:function(newVal,oldVal) { - console.log(newVal, '下拉组件list更新'); + // console.log(newVal, '下拉组件list更新'); if(this.contract==1&&this.list){ this.text=this.list[1].label }else if(this.contract==0&&this.list){ diff --git a/pages/exchange/sell-and-buy.vue b/pages/exchange/sell-and-buy.vue index ea43099..f4f6c9f 100644 --- a/pages/exchange/sell-and-buy.vue +++ b/pages/exchange/sell-and-buy.vue @@ -91,7 +91,8 @@ export default { return this.sellList.splice(this.sellList.length-this.max,this.max) } if(this.max&&this.contract==0){ - return this.sellList.splice(0,this.max) + // return this.sellList.splice(0,this.max) + return this.sellList.splice(this.sellList.length-this.max,this.max) } return this.sellList }