joken-前端工程师

  :: 首页 :: 博问 :: 闪存 :: 新随笔 :: :: :: 管理 ::

2024年6月1日

摘要: vite配置 上面jsx插件搞好就能在vue项目中使用jsx写法了 代码尝试 ChildWorld.vue <script lang="tsx"> import { defineComponent, defineProps } from "vue" const childAbc = () => { 阅读全文
posted @ 2024-06-01 23:49 joken1310 阅读(7) 评论(0) 推荐(0) 编辑

摘要: interface mycbdInterface { alert(name: string): void, one?: string } //函数装饰器 const myconsole: MethodDecorator = (...rest) => { console.log(rest, "rest 阅读全文
posted @ 2024-06-01 20:33 joken1310 阅读(2) 评论(0) 推荐(0) 编辑

摘要: Home.vue 组件中使用测试 <template> <div class="home"> <div> fone:{{ fone }} </div> <div> ftwo:{{ ftwo }} </div> <div> ffour:{{ ffour }} </div> <div> ffive:{{ 阅读全文
posted @ 2024-06-01 16:08 joken1310 阅读(3) 评论(0) 推荐(0) 编辑