<template>
  <div class="app">
    <h1>App页面</h1>
    <h2>{{ msg }}</h2>
    <input type="text" v-model="msg">
  </div>
</template>

<script setup name="App" lang="ts">
import {ref} from 'vue';
// let msg = ref("");
import useMsgRef from './useMsgRef.ts';

let {msg} = useMsgRef("",2000)



</script>

<style>

</style>