mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
🔱: [client] sync upgrade with 2 commits [trident-sync]
perf: 导出重构
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user