merge lll-fix-nodata-img into master

邀请通知更新

Created-by: LovableCat
Commit-by: LovableCat
Merged-by: LovableCat
Description: 邀请通知更新

See merge request: hk_openRepo/OpenRepo_Portal!45
This commit is contained in:
LovableCat
2025-03-19 13:55:15 +08:00
3 changed files with 8 additions and 3 deletions

View File

@@ -55,6 +55,7 @@ import { acceptInvite, getInviteListData } from '@/api/jyh';
import { ref, shallowReactive } from 'vue';
import NoData from "@/components/NoData/NoData.vue";
import { Message } from 'vue-devui';
import dayjs from "dayjs";
const noticeTableData = ref([]);
const pager = shallowReactive({
@@ -73,7 +74,8 @@ const queryInviteListData = async () => {
noticeTableData.value = data.data.data.data.map(item => {
return {
...item,
content: `尊敬的用户,您好!为更好地整合资源、协同开发,现诚邀您加入${item.name}`
content: `现诚邀您加入组织【${item.name}`,
createTime: dayjs(item.createTime).format('YYYY-MM-DD HH:mm:ss'),
}
});
pager.total = data.data.data.data.length;