Unverified Commit 845bf259 authored by Jack's avatar Jack Committed by GitHub

把block改为template (#1266)

parent 27424053
......@@ -10,9 +10,9 @@
striped && stripedActive ? 'u-striped-active' : ''
]" class="u-active" :style="[progressStyle]">
<slot v-if="$slots.default || $slots.$default" />
<block v-else-if="showPercent">
<template v-else-if="showPercent">
{{percent + '%'}}
</block>
</template>
</view>
</view>
</template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment