mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 15:51:01 +08:00
15 lines
416 B
Vue
15 lines
416 B
Vue
<script setup lang="ts">
|
|
import CheckKidUnfriendlyContent from "~/components/checks/checkKidUnfriendlyContent";
|
|
const title = ref("");
|
|
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"></button>
|
|
<div>{{ system }}</div>
|
|
</template>
|