|
|
|
@ -66,6 +66,20 @@ export default { |
|
|
|
}) |
|
|
|
} |
|
|
|
}, |
|
|
|
list:{ |
|
|
|
deep: true, |
|
|
|
handler:function(newVal,oldVal) { |
|
|
|
console.log(newVal, '下拉组件list更新'); |
|
|
|
if(this.contract==1&&this.list){ |
|
|
|
this.text=this.list[1].label |
|
|
|
}else if(this.contract==0&&this.list){ |
|
|
|
this.text=this.list[0].label |
|
|
|
} |
|
|
|
if(this.leverShow){ |
|
|
|
this.text=this.list[this.leverShow].label |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
handlerItem(value,index) { |
|
|
|
|