From be84102dc381d0c1925e477f15a431d6c327c0d6 Mon Sep 17 00:00:00 2001
From: husq <931347610@qq.com>
Date: Tue, 05 Sep 2023 15:05:41 +0800
Subject: [PATCH] 项目添加中设置中心点功能
---
src/pages/page-web/projects/project_list/list_page/list.vue | 20 ++++++++------------
1 files changed, 8 insertions(+), 12 deletions(-)
diff --git a/src/pages/page-web/projects/project_list/list_page/list.vue b/src/pages/page-web/projects/project_list/list_page/list.vue
index 73abaca..71c1a61 100644
--- a/src/pages/page-web/projects/project_list/list_page/list.vue
+++ b/src/pages/page-web/projects/project_list/list_page/list.vue
@@ -24,11 +24,7 @@
</div>
</div>
<div class="wrap_card">
-
- <a-spin :spinning="spinning" :delay="delayTime">
- <List @refreshList="init" :cardList="cardList" />
- </a-spin>
-
+ <List @refreshList="init" v-model="spinning" :cardList="cardList"></List>
</div>
<!-- <button @click="goDetail">列表详情</button> -->
</div>
@@ -46,11 +42,11 @@
const sort = ref('createTime')
const searchInput = ref(false)
interface paramsFaca {
- projectStatus:string
- project:string
- column:string
- sort:string
- projectName?:string
+ projectStatus: string
+ project: string
+ column: string
+ sort: string
+ projectName?: string
}
const params = ref<paramsFaca>({
projectStatus: '',
@@ -61,7 +57,6 @@
})
// ant 加载
const spinning = ref<boolean>(false)
-const delayTime = 500
const goDetail = () => {
router.push({ name: ERouterName.WORKSPACE })
@@ -169,4 +164,5 @@
flex: 1;
overflow-y: auto;
}
-}</style>
+}
+</style>
--
Gitblit v1.9.3