2023-09-24 23:41:26 +08:00
|
|
|
|
2023-09-26 00:38:10 +08:00
|
|
|
const useField=()=>{
|
2023-09-24 23:41:26 +08:00
|
|
|
const field=ref("zd")
|
|
|
|
|
onMounted(() => {
|
|
|
|
|
console.log(`the component is now mounted. field`)
|
|
|
|
|
});
|
|
|
|
|
return {field};
|
|
|
|
|
}
|
2023-09-26 00:38:10 +08:00
|
|
|
export default useField;
|