mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-24 08:11:55 +08:00
12 lines
262 B
Handlebars
12 lines
262 B
Handlebars
<script setup lang="ts">
|
|
import { useDesign } from '@/hooks/web/useDesign'
|
|
|
|
const { getPrefixCls } = useDesign()
|
|
|
|
const prefixCls = getPrefixCls('{{ name }}')
|
|
</script>
|
|
|
|
<template>
|
|
<div :class="`${prefixCls}-{{ name }}`">{{ upperFirstName }}</div>
|
|
</template>
|