mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-30 19:21:53 +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>
|