perf: 优化示例代码

This commit is contained in:
xiaoxian521
2022-04-11 12:17:47 +08:00
parent c4ebacedfe
commit 160db34fa0
12 changed files with 105 additions and 60 deletions

View File

@@ -1,11 +1,11 @@
<script setup lang="ts">
import { ref, PropType, nextTick, computed, CSSProperties } from "vue";
import path from "path";
import { useNav } from "../../hooks/nav";
import { childrenType } from "../../types";
import { transformI18n } from "/@/plugins/i18n";
import { useAppStoreHook } from "/@/store/modules/app";
import { useRenderIcon } from "/@/components/ReIcon/src/hooks";
import { ref, PropType, nextTick, computed, CSSProperties } from "vue";
const { pureApp } = useNav();
const menuMode = ["vertical", "mix"].includes(pureApp.layout);