{{search}}
<avue-crud :option="option" :search.sync="search" :data="data" >
</avue-crud>
<script>
export default {
data(){
return {
search:{
name:'small'
},
data:[{
name:'张三'
}],
option:{
column: [{
label: '姓名',
prop: 'name',
search:true,
}]
}
}
}
}
</script>
运行结果