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 = () => {
if (!title.value) return;
system.value = CheckKidUnfriendlyContent(title.value);
}
};
</script>
<template>
<input type="text" v-model="title">
<button @click="checkTitle">
<div>{{ system }}</div>
<input type="text" v-model="title" />
<button @click="checkTitle"></button>
<div>{{ system }}</div>
</template>