提交 b2035e81 authored 作者: pengxiaohui's avatar pengxiaohui

修改筛选栏输入框和下拉框宽度

上级 adcd96fb
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<template v-for="item in filters"> <template v-for="item in filters">
<el-form-item :prop="item.prop" :key="item.prop"> <el-form-item :prop="item.prop" :key="item.prop">
<!-- input --> <!-- input -->
<el-input v-model="params[item.prop]" v-bind="item" clearable v-if="item.type === 'input'" /> <el-input v-model="params[item.prop]" v-bind="item" clearable v-if="item.type === 'input'" style="width:200px;"/>
<!-- select --> <!-- select -->
<el-select <el-select
v-model="params[item.prop]" v-model="params[item.prop]"
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
v-bind="item" v-bind="item"
v-if="item.type === 'select'" v-if="item.type === 'select'"
@change="search" @change="search"
style="width:200px;"
> >
<template v-for="option in item.options"> <template v-for="option in item.options">
<el-option <el-option
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论