减少TraceItem数据量较大时的性能浪费
智能大石头 authored at 2024-10-22 08:41:14
428.00 B
Stardust
<template>
  <el-config-provider :locale="locale">
    <router-view></router-view>
  </el-config-provider>
</template>

<script>
// 设置语言为中文
// import { ElConfigProvider } from 'element-plus'
import zhCn from 'element-plus/lib/locale/lang/zh-cn'

export default {
  name: 'App',
  components: {
    // [ElConfigProvider.name]: ElConfigProvider
  },
  setup() {
    return {
      locale: zhCn
    }
  }
}
</script>