搜索框时间选择器添加change事件

This commit is contained in:
朱菊兰 2024-04-26 14:21:05 +08:00
parent 870aaa5f80
commit a47d4b8636
2 changed files with 9 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "code-brick-zj", "name": "code-brick-zj",
"version": "1.1.0", "version": "1.1.1",
"private": false, "private": false,
"description": "组件封装", "description": "组件封装",
"main": "index.js" "main": "index.js"

View File

@ -80,6 +80,14 @@
? 'width:200px' ? 'width:200px'
: 'width:148px' : 'width:148px'
" "
@change="
item.onchange
? $emit('datepicker-change', {
param: item.param,
value: formInline[item.param],
})
: null
"
/> />
<el-autocomplete <el-autocomplete
v-if="item.type === 'autocomplete'" v-if="item.type === 'autocomplete'"