Fix the demo

This commit is contained in:
吳元皓 2025-05-19 14:42:01 +08:00
parent 2495911a81
commit 4080eeaa3e

View File

@ -5,10 +5,10 @@ const system = ref(false);
const checkTitle = () => { const checkTitle = () => {
if (!title.value) return; if (!title.value) return;
system.value = CheckKidUnfriendlyContent(title.value); system.value = CheckKidUnfriendlyContent(title.value);
} };
</script> </script>
<template> <template>
<input type="text" v-model="title"> <input type="text" v-model="title" />
<button @click="checkTitle"> <button @click="checkTitle"></button>
<div>{{ system }}</div> <div>{{ system }}</div>
</template> </template>