[Improvement] SubmitBar: optimize render (#1184)

This commit is contained in:
neverland
2018-05-29 17:26:58 +08:00
committed by GitHub
parent e31d0b4e59
commit b68ac32325
3 changed files with 4 additions and 7 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
<template>
<div :class="b()">
<div :class="b('tip')" v-show="tip || $slots.tip">
<div :class="b('tip')" v-if="tip || $slots.tip">
{{ tip }}<slot name="tip" />
</div>
<div :class="b('bar')">