fix(components): [pickers] text button issue (#7530)

This commit is contained in:
JeremyWuuuuu 2022-05-06 13:16:44 +08:00 committed by GitHub
parent a4aad5a9c0
commit 7dc51f57e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -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') }}

View File

@ -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()

View File

@ -143,8 +143,8 @@
>
<el-button
v-show="selectionMode !== 'dates'"
text
size="small"
type="text"
class="el-picker-panel__link-btn"
@click="changeToNow"
>

View File

@ -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"
>