mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
[improvement] update eslint rules (#2089)
This commit is contained in:
@@ -1,7 +1,17 @@
|
||||
<template>
|
||||
<div :class="b()">
|
||||
<span :class="b('portion', { 'with-pivot': showPivot && text })" :style="portionStyle">
|
||||
<span v-if="showPivot && text" ref="pivot" :style="pivotStyle" :class="b('pivot')">{{ text }}</span>
|
||||
<span
|
||||
:class="b('portion', { 'with-pivot': showPivot && text })"
|
||||
:style="portionStyle"
|
||||
>
|
||||
<span
|
||||
v-if="showPivot && text"
|
||||
ref="pivot"
|
||||
:style="pivotStyle"
|
||||
:class="b('pivot')"
|
||||
>
|
||||
{{ text }}
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</template>
|
||||
|
Reference in New Issue
Block a user