From 6432d165c71213f90cda5c4ae250dd5b83a8cc05 Mon Sep 17 00:00:00 2001 From: ahao <liuhaoai545@gmail.com> Date: 星期五, 05 一月 2024 12:06:10 +0800 Subject: [PATCH] update 修复启动弹出cjs废弃警告 --- src/views/system/user/index.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index a952954..df8b192 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -298,15 +298,15 @@ <script setup name="User" lang="ts"> import api from '@/api/system/user'; import { UserForm, UserQuery, UserVO } from '@/api/system/user/types'; -import { treeselect } from '@/api/system/dept'; import { DeptVO } from '@/api/system/dept/types'; import { RoleVO } from '@/api/system/role/types'; import { PostVO } from '@/api/system/post/types'; -import { to } from 'await-to-js'; +import { treeselect } from '@/api/system/dept'; import { globalHeaders } from '@/utils/request'; +import { to } from 'await-to-js'; const router = useRouter(); -const { proxy } = getCurrentInstance(); +const { proxy } = getCurrentInstance() as ComponentInternalInstance; const { sys_normal_disable, sys_user_sex } = toRefs<any>(proxy?.useDict('sys_normal_disable', 'sys_user_sex')); const userList = ref<UserVO[]>(); const loading = ref(true); -- Gitblit v1.9.3