feat: 更新 PrimeVue 配置以支持多语言,移除不必要的代码
This commit is contained in:
@ -1,10 +1,4 @@
|
||||
<script setup lang="ts">
|
||||
import { usePrimeVue } from 'primevue/config';
|
||||
import zhCN from 'primelocale/zh-CN.json';
|
||||
|
||||
const primevue = usePrimeVue();
|
||||
primevue.config.locale = zhCN['zh-CN'];
|
||||
</script>
|
||||
<script setup lang="ts"></script>
|
||||
|
||||
<template>
|
||||
<div class="primevue">
|
||||
|
Reference in New Issue
Block a user