refactor: remove unused element (#74)

This commit is contained in:
Craftsman 2024-04-15 14:42:39 +08:00 committed by GitHub
parent 9c830366b3
commit fc63b15e7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 7 deletions

View File

@ -53,10 +53,9 @@
</template>
<script setup lang="ts">
import { ref, reactive, watch } from 'vue'
import type { FormInstance, FormRules } from 'element-plus'
import { cloneDeep } from 'lodash'
import type { FormInstance } from 'element-plus'
import userApi from '@/api/user-manage'
import { MsgSuccess, MsgConfirm } from '@/utils/message'
import { MsgSuccess } from '@/utils/message'
const props = defineProps({
title: String

View File

@ -39,9 +39,8 @@
import { ref, reactive, watch } from 'vue'
import type { FormInstance, FormRules } from 'element-plus'
import type { ResetPasswordRequest } from '@/api/type/user'
import { cloneDeep } from 'lodash'
import userApi from '@/api/user-manage'
import { MsgSuccess, MsgConfirm } from '@/utils/message'
import { MsgSuccess } from '@/utils/message'
const emit = defineEmits(['refresh'])

View File

@ -79,10 +79,10 @@
</LayoutContainer>
</template>
<script setup lang="ts">
import { ref, onMounted, reactive, watch, computed } from 'vue'
import { ref, onMounted, reactive } from 'vue'
import UserDialog from './component/UserDialog.vue'
import UserPwdDialog from './component/UserPwdDialog.vue'
import { MsgSuccess, MsgConfirm, MsgError } from '@/utils/message'
import { MsgSuccess, MsgConfirm } from '@/utils/message'
import userApi from '@/api/user-manage'
import { datetimeFormat } from '@/utils/time'