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

选中第一条

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