mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 21:14:23 +00:00
14 lines
402 B
Vue
14 lines
402 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">
|
|
<div>{{ system }}</div>
|
|
</template>
|