ソースを参照

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

zjl
juzi 4ヶ月前
コミット
a47d4b8636
2個のファイルの変更9行の追加1行の削除
  1. +1
    -1
      package.json
  2. +8
    -0
      src/components/SearchBar/SearchBar.vue

+ 1
- 1
package.json ファイルの表示

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


+ 8
- 0
src/components/SearchBar/SearchBar.vue ファイルの表示

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


読み込み中…
キャンセル
保存