fix: some warn

This commit is contained in:
xingyuv
2023-02-09 15:29:29 +08:00
parent 5df6addb78
commit 6e12fa4d78
24 changed files with 81 additions and 117 deletions

View File

@@ -1,4 +1,4 @@
import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas'
import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas'
const { t } = useI18n() // 国际化

View File

@@ -12,13 +12,12 @@
</XTable>
</ContentWrap>
</template>
<script setup lang="ts">
// 业务相关的 import
import { allSchemas } from './done.data'
import * as TaskApi from '@/api/bpm/task'
const router = useRouter() // 路由
const { push } = useRouter() // 路由
const [registerTable] = useXTable({
allSchemas: allSchemas,
@@ -27,7 +26,7 @@ const [registerTable] = useXTable({
// 处理审批按钮
const handleAudit = (row) => {
router.push({
push({
name: 'BpmProcessInstanceDetail',
query: {
id: row.processInstance.id