Skip to content

Commit a91e262

Browse files
committed
chore: update playground show
1 parent deb2fab commit a91e262

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

packages/nuxt/playground/components/TodoItem.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<script lang="ts" setup>
2-
import { computed, nextTick, ref } from 'vue'
3-
42
export interface Todo {
53
created: Date
64
finished: boolean
@@ -25,7 +23,9 @@ function startEdit() {
2523
}
2624
2725
function saveTodo() {
28-
if (!isEditing.value) { return }
26+
if (!isEditing.value) {
27+
return
28+
}
2929
3030
emit('update:todo', props.todo.id, {
3131
...props.todo,

packages/nuxt/playground/pages/firestore-useDocument.vue

+10
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@ onMounted(() => {
3434
<p>config:</p>
3535
<p>finished: {{ isDoneFetching }}</p>
3636
<p>All finished: {{ isAllDoneFetching }}</p>
37+
<p>
38+
Revive check:
39+
</p>
40+
<ul>
41+
<li>TimeStamp: {{ config?.time }}</li>
42+
<li>GeoPoint: {{ config?.loc }}</li>
43+
</ul>
44+
45+
<hr>
46+
3747
<pre>{{ config }}</pre>
3848
</div>
3949
</template>

0 commit comments

Comments
 (0)