Commit 9a3dc005 authored by 郭铭瑶's avatar 郭铭瑶 🤘

修改党龄相减逻辑

parent f0138be1
......@@ -490,7 +490,7 @@ async function searchMember(type) {
partyEnd.value = null
if (partyAge.value) {
const year = dayjs()
.subtract(+partyAge.value - 1, 'year')
.subtract(+partyAge.value + 1, 'year')
.format('YYYY')
query.push(`paths @ "加入中共党组织日期" && string @ "${year}"`)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment