Commit 4c648359 authored by 李苏's avatar 李苏 💬

选中第一条

parent 6cf559c2
...@@ -62,6 +62,8 @@ ...@@ -62,6 +62,8 @@
/* 初始额外赋值*/ /* 初始额外赋值*/
async mounted() { async mounted() {
/* */
console.log(this.$el.attributes[0].name)
this.$refs['TablePager'].pageQuery() this.$refs['TablePager'].pageQuery()
}, },
data() { data() {
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<!-- 查询条件--> <!-- 查询条件-->
<div class="search" v-condition> <div class="search" v-condition>
<SearchButton :app='app'></SearchButton> <SearchButton setFirstCurrent :app='app'></SearchButton>
<el-row :gutter="20" class="search-row-1"> <el-row :gutter="20" class="search-row-1">
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
...@@ -193,6 +193,7 @@ ...@@ -193,6 +193,7 @@
}, },
methods: { methods: {
getRow: function(e) { getRow: function(e) {
console.log('getRow',e)
let config={ let config={
'A':{setFirstCurrent:true}, 'A':{setFirstCurrent:true},
'Y':{setFirstCurrent:true,filter:(data)=>{ '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