diff --git a/src/views/UserPermissions/invitedLook.vue b/src/views/UserPermissions/invitedLook.vue index 64cf940..7f1113a 100644 --- a/src/views/UserPermissions/invitedLook.vue +++ b/src/views/UserPermissions/invitedLook.vue @@ -55,7 +55,7 @@
注册时间 - +
@@ -135,33 +135,33 @@ onMounted(async () => { const shortcuts = [ { - text: '最近7天', + text: "最近7天", value: () => { - const end = new Date() - const start = new Date() - start.setDate(start.getDate() - 7) - return [start, end] + const end = new Date(); + const start = new Date(); + start.setDate(start.getDate() - 7); + return [start, end]; }, }, { - text: '最近1个月', + text: "最近1个月", value: () => { - const end = new Date() - const start = new Date() - start.setMonth(start.getMonth() - 1) - return [start, end] + const end = new Date(); + const start = new Date(); + start.setMonth(start.getMonth() - 1); + return [start, end]; }, }, { - text: '最近3个月', + text: "最近3个月", value: () => { - const end = new Date() - const start = new Date() - start.setMonth(start.getMonth() - 3) - return [start, end] + const end = new Date(); + const start = new Date(); + start.setMonth(start.getMonth() - 3); + return [start, end]; }, }, -] +]; // 地区下拉框 const regionList = ref([]); @@ -291,8 +291,8 @@ const resetBn = () => { searchForm.origin_id = ""; searchForm.user_role = ""; searchForm.country = ""; - searchDate.value=[]; - + searchDate.value = []; + currentPage.value = 1; pageSizeDM.value = 10; getTableData();