随笔分类 -  vue3.0

使用vue3+typescript
摘要:////按钮权限 app.directive('permission',{ mounted(el,binding){ let type = binding.value||''; let status = false; ////获取当前的this实例 let vm:any = binding.inst 阅读全文
posted @ 2021-11-19 09:07 一叶*秋 阅读(2118) 评论(0) 推荐(0)
摘要:新建hooks.ts import { ref, onMounted } from 'vue' export default function useRooks() { const list = ref<any>([]) const showShare = ref<boolean>(false) c 阅读全文
posted @ 2021-08-05 10:43 一叶*秋 阅读(578) 评论(0) 推荐(0)

博客侧边栏公告广告位招租