first commit

This commit is contained in:
muzi
2025-06-16 14:42:26 +08:00
commit 6f06721506
149 changed files with 56883 additions and 0 deletions

25
src/App.vue Normal file
View File

@ -0,0 +1,25 @@
<template>
<a-config-provider :locale="zhCN" size="small" :theme="redTheme">
<LayoutBasic>
<router-view />
</LayoutBasic>
</a-config-provider>
</template>
<script setup lang="ts">
import zhCN from '@arco-design/web-vue/es/locale/lang/zh-cn';
onMounted(() => {
// 监听全局未处理错误
window.addEventListener('unhandledrejection', (event) => {
event.preventDefault();
console.log(event);
console.error(`发现catch报错${event.reason}`);
});
});
const redTheme = {
token: {
colorPrimary: '#6d4cfe', // 主色
colorLink: '#f5222d', // 链接色
},
};
</script>