Commit 59a091fa by linjinhong

修改样式

parent e75dfe4b
...@@ -198,15 +198,6 @@ export default defineComponent({ ...@@ -198,15 +198,6 @@ export default defineComponent({
</div> </div>
)} )}
<div style={{ display: 'flex', alignItems: 'center' }}> <div style={{ display: 'flex', alignItems: 'center' }}>
{props.isSearchBtn && (
<ElButton
class="btn"
type="primary"
onClick={() => emit('search', searchForm.value)}
>
查询
</ElButton>
)}
{props.isResetBtn && ( {props.isResetBtn && (
<ElButton <ElButton
class="btn" class="btn"
...@@ -215,10 +206,23 @@ export default defineComponent({ ...@@ -215,10 +206,23 @@ export default defineComponent({
// emit('update:modelValue', {}) // emit('update:modelValue', {})
emit('reset') emit('reset')
}} }}
link
> >
重置 <span title="重置查询条件" style={{ fontSize: '12px' }}>
重置
</span>
</ElButton> </ElButton>
)} )}
{props.isSearchBtn && (
<ElButton
class="btn"
type="primary"
onClick={() => emit('search', searchForm.value)}
>
查询
</ElButton>
)}
{props.isAddBtn && ( {props.isAddBtn && (
<ElButton class="btn" type="success" onClick={() => emit('add')}> <ElButton class="btn" type="success" onClick={() => emit('add')}>
新增 新增
......
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