Skip to content

Commit 4254a40

Browse files
committed
docs: fix demo #68
1 parent a36edf0 commit 4254a40

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/src/.vuepress/components/cron-demo.vue

+3-4
Original file line numberDiff line numberDiff line change
@@ -141,14 +141,13 @@ export default {
141141
const src = computed(() => {
142142
const params = {
143143
locale: locale.value,
144-
format: format.value,
145-
'initial-value': format.value == 'quartz' ? '* * * * * *' : '* * * * *',
144+
format: format.value.value,
145+
'initial-value': format.value.value == 'crontab' ? '* * * * *' : '* * * * * *',
146146
...(disabled.value ? { disabled:true } : {})
147147
}
148148
const query = new URLSearchParams(params)
149149
const path = 'demo/' + flavor.value.value + '/index.html?' + query.toString()
150-
151-
console.log("src", path)
150+
152151
return withBase(path)
153152
})
154153

0 commit comments

Comments
 (0)