🔱: [client] sync upgrade with 2 commits [trident-sync]

perf: 导出重构
This commit is contained in:
GitHub Actions Bot
2023-07-01 19:23:57 +00:00
parent e11b7802c2
commit a8edaf4dfa
2 changed files with 4 additions and 45 deletions
+2 -6
View File
@@ -7,17 +7,16 @@
<script lang="ts">
import zhCN from "ant-design-vue/es/locale/zh_CN";
import enUS from "ant-design-vue/es/locale/en_US";
import { provide, ref, nextTick } from "vue";
import { provide, ref, nextTick, getCurrentInstance } from "vue";
import { usePageStore } from "/src/store/modules/page";
import { useResourceStore } from "/src/store/modules/resource";
import { useSettingStore } from "/@/store/modules/settings";
import "dayjs/locale/zh-cn";
import "dayjs/locale/en";
import dayjs from "dayjs";
import { useAsync } from "@fast-crud/fast-crud/src/use/use-async";
export default {
name: "App",
setup() {
setup(props: any, ctx: any) {
//刷新页面方法
const routerEnabled = ref(true);
const locale = ref(zhCN);
@@ -48,9 +47,6 @@ export default {
const settingStore = useSettingStore();
settingStore.init();
const { registerAsyncLib } = useAsync();
registerAsyncLib("FsExportUtil");
return {
routerEnabled,
locale