perf:修复大多数文件的 linter(首次)
This commit is contained in:
@@ -65,8 +65,8 @@ const props = defineProps<{
|
||||
}>()
|
||||
|
||||
const emit = defineEmits<{
|
||||
'search': [data: SearchFormData]
|
||||
'reset': []
|
||||
search: [data: SearchFormData]
|
||||
reset: []
|
||||
}>()
|
||||
|
||||
const visible = ref(false)
|
||||
|
||||
@@ -73,11 +73,11 @@ import { computed, onMounted, ref } from 'vue'
|
||||
import { useToast } from 'wot-design-uni'
|
||||
import { deleteUser, getUser, updateUserStatus } from '@/api/system/user'
|
||||
import { useAccess } from '@/hooks/useAccess'
|
||||
import { navigateBackPlus } from '@/utils'
|
||||
import { CommonStatusEnum, DICT_TYPE } from '@/utils/constants'
|
||||
import { formatDateTime } from '@/utils/date'
|
||||
import PasswordForm from './components/password-form.vue'
|
||||
import RoleAssignForm from './components/role-assign-form.vue'
|
||||
import { navigateBackPlus } from '@/utils';
|
||||
|
||||
const props = defineProps<{
|
||||
id?: number | any
|
||||
|
||||
@@ -21,7 +21,7 @@ const props = withDefaults(defineProps<{
|
||||
label?: string
|
||||
}>(), {
|
||||
type: 'checkbox',
|
||||
label: '负责人'
|
||||
label: '负责人',
|
||||
})
|
||||
|
||||
const emit = defineEmits<{
|
||||
@@ -35,7 +35,7 @@ const selectedId = ref<number | string | number[]>([])
|
||||
const columns = computed(() => {
|
||||
return userList.value.map(user => ({
|
||||
label: user.nickname,
|
||||
value: user.id
|
||||
value: user.id,
|
||||
}))
|
||||
})
|
||||
|
||||
@@ -50,7 +50,7 @@ watch(
|
||||
selectedId.value = Array.isArray(val) ? val : []
|
||||
}
|
||||
},
|
||||
{ immediate: true }
|
||||
{ immediate: true },
|
||||
)
|
||||
|
||||
async function loadUserList() {
|
||||
|
||||
@@ -105,11 +105,11 @@ import { computed, onMounted, ref } from 'vue'
|
||||
import { useToast } from 'wot-design-uni'
|
||||
import { createUser, getUser, updateUser } from '@/api/system/user'
|
||||
import { getIntDictOptions } from '@/hooks/useDict'
|
||||
import { CommonStatusEnum, DICT_TYPE } from '@/utils/constants'
|
||||
import { isEmail, isMobile } from '@/utils/validator'
|
||||
import DeptPicker from '@/pages-system/dept/form/components/dept-picker.vue'
|
||||
import PostPicker from '@/pages-system/post/form/components/post-picker.vue'
|
||||
import { navigateBackPlus } from '@/utils';
|
||||
import { navigateBackPlus } from '@/utils'
|
||||
import { CommonStatusEnum, DICT_TYPE } from '@/utils/constants'
|
||||
import { isEmail, isMobile } from '@/utils/validator'
|
||||
|
||||
const props = defineProps<{
|
||||
id?: number | any
|
||||
|
||||
@@ -88,8 +88,8 @@ import { getUserPage } from '@/api/system/user'
|
||||
import { useAccess } from '@/hooks/useAccess'
|
||||
import { navigateBackPlus } from '@/utils'
|
||||
import { DICT_TYPE } from '@/utils/constants'
|
||||
import { formatDate } from '@/utils/date'
|
||||
import SearchForm from './components/search-form.vue'
|
||||
import { formatDate } from '@/utils/date';
|
||||
|
||||
definePage({
|
||||
style: {
|
||||
|
||||
Reference in New Issue
Block a user