fix: some warn
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { VxeCrudSchema, useVxeCrudSchemas } from '@/hooks/web/useVxeCrudSchemas'
|
||||
import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas'
|
||||
|
||||
const { t } = useI18n() // 国际化
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user