Commit 7717c194 by 刘泽奇

123

parent 56ca55db
...@@ -58,7 +58,7 @@ module.exports= ...@@ -58,7 +58,7 @@ module.exports=
}, },
watch:{ watch:{
value:function(v){ value:function(v,old){
if(v && this.autoComplete){ if(v && this.autoComplete){
var k=this.valueField?this.valueField:"id"; var k=this.valueField?this.valueField:"id";
this.refwhere={}; this.refwhere={};
...@@ -67,6 +67,9 @@ module.exports= ...@@ -67,6 +67,9 @@ module.exports=
}else{ }else{
this.refwhere={}; this.refwhere={};
} }
if(v != old){
this.sels = v;
}
this.sels=v; this.sels=v;
}, },
parentcode:function(v){ parentcode:function(v){
...@@ -92,8 +95,6 @@ module.exports= ...@@ -92,8 +95,6 @@ module.exports=
blur(){ blur(){
this.$emit("input",this.sels); this.$emit("input",this.sels);
}, },
fetchHistoryData(){ fetchHistoryData(){
console.log("this.frombrowser"); console.log("this.frombrowser");
console.log(this.frombrowser); console.log(this.frombrowser);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment