mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-31 19:24:07 +08:00
refactor: vue3.3 defineOptions
This commit is contained in:
@@ -99,7 +99,7 @@
|
||||
<!-- 表单弹窗:修改 -->
|
||||
<UserForm ref="formRef" @success="getList" />
|
||||
</template>
|
||||
<script lang="ts" setup name="MpUser">
|
||||
<script lang="ts" setup>
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import * as MpUserApi from '@/api/mp/user'
|
||||
import * as MpTagApi from '@/api/mp/tag'
|
||||
@@ -107,6 +107,8 @@ import WxAccountSelect from '@/views/mp/components/wx-account-select'
|
||||
import type { FormInstance } from 'element-plus'
|
||||
import UserForm from './UserForm.vue'
|
||||
|
||||
defineOptions({ name: 'MpUser' })
|
||||
|
||||
const message = useMessage() // 消息
|
||||
|
||||
const loading = ref(true) // 列表的加载中
|
||||
|
Reference in New Issue
Block a user