We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c37d42f commit 304afa2Copy full SHA for 304afa2
docs/tool/off-time/demo.vue
@@ -48,6 +48,6 @@ const cal = () => {
48
<pre v-if="start_time">上班时间:{{ start_time }}</pre>
49
<pre v-if="end_time">下班时间:{{ end_time }}</pre>
50
<pre
51
- v-if="leftTime.hour || leftTime.min || leftTime.sec"
+ v-if="leftTime.hour > 0 || leftTime.min > 0 || leftTime.sec > 0"
52
>距离下班还有 {{ leftTime.hour }} 时 {{ leftTime.min }} 分 {{ leftTime.sec }} 秒</pre>
53
</template>
0 commit comments