mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-03 03:38:41 +08:00
fix(components): [pickers] text button issue (#7530)
This commit is contained in:
parent
a4aad5a9c0
commit
7dc51f57e6
@ -37,9 +37,9 @@
|
||||
/>
|
||||
</span>
|
||||
<el-button
|
||||
size="small"
|
||||
type="text"
|
||||
:class="ns.be('dropdown', 'link-btn')"
|
||||
text
|
||||
size="small"
|
||||
@click="clear"
|
||||
>
|
||||
{{ t('el.colorpicker.clear') }}
|
||||
|
@ -212,7 +212,7 @@ describe('Datetime Picker', () => {
|
||||
await nextTick()
|
||||
// click now button
|
||||
const btn = document.querySelector(
|
||||
'.el-picker-panel__footer .el-button--text'
|
||||
'.el-picker-panel__footer .is-text'
|
||||
) as HTMLElement
|
||||
btn.click()
|
||||
await nextTick()
|
||||
|
@ -143,8 +143,8 @@
|
||||
>
|
||||
<el-button
|
||||
v-show="selectionMode !== 'dates'"
|
||||
text
|
||||
size="small"
|
||||
type="text"
|
||||
class="el-picker-panel__link-btn"
|
||||
@click="changeToNow"
|
||||
>
|
||||
|
@ -212,8 +212,8 @@
|
||||
<div v-if="showTime" class="el-picker-panel__footer">
|
||||
<el-button
|
||||
v-if="clearable"
|
||||
text
|
||||
size="small"
|
||||
type="text"
|
||||
class="el-picker-panel__link-btn"
|
||||
@click="handleClear"
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user