|
|
@ -58,7 +58,7 @@ export default { |
|
|
leverShow:{ |
|
|
leverShow:{ |
|
|
deep: true, |
|
|
deep: true, |
|
|
handler:function(newVal,oldVal) { |
|
|
handler:function(newVal,oldVal) { |
|
|
console.log(newVal, '下拉组件leverShow更新'); |
|
|
// console.log(newVal, '下拉组件leverShow更新'); |
|
|
this.$nextTick(() => { |
|
|
this.$nextTick(() => { |
|
|
this.text=this.list[newVal].label; |
|
|
this.text=this.list[newVal].label; |
|
|
}) |
|
|
}) |
|
|
@ -67,7 +67,7 @@ export default { |
|
|
list:{ |
|
|
list:{ |
|
|
deep: true, |
|
|
deep: true, |
|
|
handler:function(newVal,oldVal) { |
|
|
handler:function(newVal,oldVal) { |
|
|
console.log(newVal, '下拉组件list更新'); |
|
|
// console.log(newVal, '下拉组件list更新'); |
|
|
if(this.contract==1&&this.list){ |
|
|
if(this.contract==1&&this.list){ |
|
|
this.text=this.list[1].label |
|
|
this.text=this.list[1].label |
|
|
}else if(this.contract==0&&this.list){ |
|
|
}else if(this.contract==0&&this.list){ |
|
|
|