网站首页
编程语言
数据库
系统相关
其他分享
编程问答
useMyHooks
2024-09-13
vue3 tsx中使用hook
代码使用方组件import{defineComponent,PropType,h,computed,ref,watch}from'vue';importuseMyHooksfrom'./hooks/useMyHooks';exportdefaultdefineComponent({setup(props,{slots}){const{count,increment,decrem