Files
Docker/uniapp/youjiala/src/App.root.vue
T
2026-10-13 10:47:39 +08:00

15 lines
515 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!--
根组件(由 vite.config.ts 的 UniRoot 插件包在所有页面外层)
只承担两件事:给 uview-pro 提供主题/多语言上下文,注册全局 u-toast。
脚手架原有的 onLoad/onMounted 调试打印已移除:主题与语言的实际生效链路在
main.ts(i18n + setTheme)与 theme.json 里,这里重复读取只会污染真机日志。
-->
<template>
<u-config-provider>
<slot />
<u-toast global />
</u-config-provider>
</template>
<style lang="scss"></style>