Commit 7b9a2cfe authored by 李苏's avatar 李苏 💬

解决没触发getrow事件,setfirst方法触发存在tabledata默认singleItem=tabledata[0],否则singleItem=null

parent 150eee1b
......@@ -195,6 +195,8 @@
this.$nextTick(()=>{
this.$refs.cycleDetails.queryParams=JSON.parse(JSON.stringify(this.queryParams))
this.$refs.cycleDetails.queryParams.grouptype='RY'
/* */
console.log(this.singleItem.bmid)
this.$refs.cycleDetails.queryParams.bmid=this.singleItem.bmid
this.$refs.cycleDetails.$refs['TablePager'].pageQuery(
config[this.$refs.cycleDetails.gd]
......
......@@ -69,6 +69,7 @@
},
watch:{
gd(val){
let config={
'A':{setFirstCurrent:true},
'Y':{setFirstCurrent:true,filter:(data)=>{
......
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