mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(projects): 添加表格页面示例
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user