fix: type warn

This commit is contained in:
xingyu committed 2023-04-23 19:35:14 +08:00
1 parent 6b7d092c29
commit fc366f18c8
12 files changed
+28 -22

No files matched your search

+1 -1
View File
@@ -68,7 +68,7 @@ const formRules = reactive({
status: [{ required: true, message: '状态不能为空', trigger: 'blur' }]
})
const formRef = ref() // 表单 Ref
const userList = ref([]) // 用户列表
const userList = ref<any[]>([]) // 用户列表
/** 打开弹窗 */
const open = async (type: string, id?: number) => {
+2 -1
View File
@@ -117,6 +117,7 @@ import { dateFormatter } from '@/utils/formatTime'
import * as UserGroupApi from '@/api/bpm/userGroup'
import * as UserApi from '@/api/system/user'
import UserGroupForm from './UserGroupForm.vue'
import { UserVO } from '@/api/system/user'
const message = useMessage() // 消息弹窗
const { t } = useI18n() // 国际化
@@ -131,7 +132,7 @@ const queryParams = reactive({
createTime: []
})
const queryFormRef = ref() // 搜索的表单
const userList = ref([]) // 用户列表
const userList = ref<UserVO[]>([]) // 用户列表
/** 查询列表 */
const getList = async () => {