feat(projects): 添加表格页面示例

This commit is contained in:
Soybean
2021-12-12 21:43:26 +08:00
parent 230a50a4cf
commit 51c744c8e2
8 changed files with 123 additions and 11 deletions

View File

@ -18,9 +18,16 @@
import { NConfigProvider, NElement, zhCN, dateZhCN } from 'naive-ui';
import { NaiveProvider } from '@/components';
import { useThemeStore } from '@/store';
import { useDarkMode } from '@/composables';
import { useDarkMode, useGlobalEvent } from '@/composables';
const theme = useThemeStore();
const { naiveTheme } = useDarkMode();
const { initGlobalEventListener } = useGlobalEvent();
function init() {
initGlobalEventListener();
}
init();
</script>
<style></style>