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 }