mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-27 01:05:07 +08:00
refactor: vue3.3 defineOptions
This commit is contained in:
@ -42,10 +42,13 @@
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</template>
|
||||
<script setup name="BpmOALeaveCreate" lang="ts">
|
||||
<script setup lang="ts">
|
||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||
import * as LeaveApi from '@/api/bpm/leave'
|
||||
import { useTagsViewStore } from '@/store/modules/tagsView'
|
||||
|
||||
defineOptions({ name: 'BpmOALeaveCreate' })
|
||||
|
||||
const message = useMessage() // 消息弹窗
|
||||
const { delView } = useTagsViewStore() // 视图操作
|
||||
const { currentRoute } = useRouter() // 路由
|
||||
|
Reference in New Issue
Block a user