mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 03:44:48 +00:00
[improvement] update eslint rules (#2089)
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
<template>
|
||||
<div :class="b({ 'show-action': showAction })" :style="{ background }">
|
||||
<div
|
||||
:class="b({ 'show-action': showAction })"
|
||||
:style="{ background }"
|
||||
>
|
||||
<field
|
||||
v-bind="$attrs"
|
||||
v-on="listeners"
|
||||
@@ -9,9 +12,15 @@
|
||||
:border="false"
|
||||
left-icon="search"
|
||||
>
|
||||
<slot name="left-icon" slot="left-icon" />
|
||||
<slot
|
||||
name="left-icon"
|
||||
slot="left-icon"
|
||||
/>
|
||||
</field>
|
||||
<div v-if="showAction" :class="b('action')">
|
||||
<div
|
||||
v-if="showAction"
|
||||
:class="b('action')"
|
||||
>
|
||||
<slot name="action">
|
||||
<div @click="onBack">{{ $t('cancel') }}</div>
|
||||
</slot>
|
||||
|
Reference in New Issue
Block a user