From ca556e408d30c5aaa60221dcf415c596ba92c493 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期五, 08 八月 2025 16:50:00 +0800
Subject: [PATCH] fix: 任务详情
---
apps/cMiniApp/auto-imports.d.ts | 9 ---------
apps/cMiniApp/src/hooks/index.ts | 1 -
apps/cMiniApp/src/pages/home/index.vue | 2 +-
apps/bMiniApp/src/subpackages/task/taskManage/taskManage.vue | 2 +-
4 files changed, 2 insertions(+), 12 deletions(-)
diff --git a/apps/bMiniApp/src/subpackages/task/taskManage/taskManage.vue b/apps/bMiniApp/src/subpackages/task/taskManage/taskManage.vue
index 74d2fda..5b9ad6e 100644
--- a/apps/bMiniApp/src/subpackages/task/taskManage/taskManage.vue
+++ b/apps/bMiniApp/src/subpackages/task/taskManage/taskManage.vue
@@ -1,5 +1,5 @@
<template>
- <PageLayoutWithBg class="taskManage-page-wrapper" title="浠诲姟绠$悊" :need-auth="false">
+ <PageLayoutWithBg class="taskManage-page-wrapper" title="浠诲姟绠$悊">
<InnerPage />
</PageLayoutWithBg>
</template>
diff --git a/apps/cMiniApp/auto-imports.d.ts b/apps/cMiniApp/auto-imports.d.ts
index 67da1bf..4ff20fc 100644
--- a/apps/cMiniApp/auto-imports.d.ts
+++ b/apps/cMiniApp/auto-imports.d.ts
@@ -8,7 +8,6 @@
const AppLocalConfig: typeof import('./src/constants/app')['AppLocalConfig']
const BackType: typeof import('./src/constants/enum')['BackType']
const EffectScope: typeof import('vue')['EffectScope']
- const HomeOrderType: typeof import('./src/hooks/task')['HomeOrderType']
const OssAssets: typeof import('./src/constants/img')['OssAssets']
const RouterPath: typeof import('./src/constants/router')['RouterPath']
const TabBarPageRouter: typeof import('./src/constants/tabBar')['TabBarPageRouter']
@@ -87,13 +86,10 @@
const useLoginedJump: typeof import('./src/hooks/login')['useLoginedJump']
const useModel: typeof import('vue')['useModel']
const useMyCertificationAuditInfo: typeof import('./src/hooks/authentication')['useMyCertificationAuditInfo']
- const useOmitProps: typeof import('@/hooks')['useOmitProps']
- const usePickProps: typeof import('@/hooks')['usePickProps']
const useRoute: typeof import('vue-router')['useRoute']
const useRouter: typeof import('vue-router')['useRouter']
const useSlots: typeof import('vue')['useSlots']
const useSwitchTab: typeof import('./src/hooks/router')['useSwitchTab']
- const useTaskList: typeof import('./src/hooks/task')['useTaskList']
const useTemplateRef: typeof import('vue')['useTemplateRef']
const useUser: typeof import('./src/hooks/user')['useUser']
const watch: typeof import('vue')['watch']
@@ -115,9 +111,6 @@
// @ts-ignore
export type { TaskStatus, TaskStatus } from './src/constants/task'
import('./src/constants/task')
- // @ts-ignore
- export type { HomeOrderType, HomeOrderType } from './src/hooks/task'
- import('./src/hooks/task')
}
// for vue template auto import
import { UnwrapRef } from 'vue'
@@ -126,7 +119,6 @@
readonly AppLocalConfig: UnwrapRef<typeof import('./src/constants/app')['AppLocalConfig']>
readonly BackType: UnwrapRef<typeof import('./src/constants/enum')['BackType']>
readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']>
- readonly HomeOrderType: UnwrapRef<typeof import('./src/hooks/task')['HomeOrderType']>
readonly OssAssets: UnwrapRef<typeof import('./src/constants/img')['OssAssets']>
readonly RouterPath: UnwrapRef<typeof import('./src/constants/router')['RouterPath']>
readonly TabBarPageRouter: UnwrapRef<typeof import('./src/constants/tabBar')['TabBarPageRouter']>
@@ -209,7 +201,6 @@
readonly useRouter: UnwrapRef<typeof import('vue-router')['useRouter']>
readonly useSlots: UnwrapRef<typeof import('vue')['useSlots']>
readonly useSwitchTab: UnwrapRef<typeof import('./src/hooks/router')['useSwitchTab']>
- readonly useTaskList: UnwrapRef<typeof import('./src/hooks/task')['useTaskList']>
readonly useTemplateRef: UnwrapRef<typeof import('vue')['useTemplateRef']>
readonly useUser: UnwrapRef<typeof import('./src/hooks/user')['useUser']>
readonly watch: UnwrapRef<typeof import('vue')['watch']>
diff --git a/apps/cMiniApp/src/hooks/index.ts b/apps/cMiniApp/src/hooks/index.ts
index bb5aa48..04721e7 100644
--- a/apps/cMiniApp/src/hooks/index.ts
+++ b/apps/cMiniApp/src/hooks/index.ts
@@ -3,4 +3,3 @@
export * from './access';
export * from './login';
export * from './authentication';
-export * from './task';
diff --git a/apps/cMiniApp/src/pages/home/index.vue b/apps/cMiniApp/src/pages/home/index.vue
index 2bfd7ae..fb3d2cb 100644
--- a/apps/cMiniApp/src/pages/home/index.vue
+++ b/apps/cMiniApp/src/pages/home/index.vue
@@ -74,7 +74,7 @@
import { TaskCard, ProTabs, ProTabPane } from '@12333/components';
import HomeQueryMenuView from './HomeQueryMenuView.vue';
import IconLocaltion from '@/assets/task/icon-localtion.png';
-import { useAllAreaList, useTaskList } from '@12333/hooks';
+import { useAllAreaList, useTaskList, HomeOrderType } from '@12333/hooks';
import { useAccessLogin } from '@/hooks';
const { locationCity } = useUser();
--
Gitblit v1.9.1