Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
tswj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2022-06-01 15:51:17 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
205db6496d4d318e6fcb4a6a4ab372602faf96aa
205db649
1 parent
02dec58a
fix
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
src/views/client/donateList.vue
src/views/client/donateList.vue
View file @
205db64
...
...
@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2022-05-30 13:51:47
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-06-01 15:
02:10
* @LastEditTime: 2022-06-01 15:
40:42
* @FilePath: /tswj/src/views/client/donateList.vue
* @Description: 幼儿园捐赠人捐赠金额排行榜
-->
...
...
@@ -62,15 +62,14 @@
<script setup>
import { onMounted, ref } from 'vue'
import { useRoute
, useRouter
} from 'vue-router'
import {
Cookies, $, _, axios, storeToRefs, mainStore, Toast,
useTitle } from '@/utils/generatePackage.js'
import { useRoute } from 'vue-router'
import { useTitle } from '@/utils/generatePackage.js'
//import { } from '@/utils/generateModules.js'
import { icon_avatar, no_image, icon_flower, icon_logo } from '@/utils/generateIcons.js'
//import { } from '@/composables'
import { kgDonateListAPI } from '@/api/C/kg.js'
const $route = useRoute();
const $router = useRouter();
const $route = useRoute()
useTitle($route.meta.title);
const kgInfo = ref({});
...
...
@@ -98,7 +97,6 @@ onMounted(async () => {
const onLoad = async () => {
const { data } = await kgDonateListAPI({ kg_id, limit: limit.value, offset: offset.value });
donateList.value = [...donateList.value, ...data.donate_list];
// donateList.value = _.uniqBy(donateList.value, 'id');
offset.value = donateList.value.length;
loading.value = false;
// 数据全部加载完成
...
...
Please
register
or
login
to post a comment