新增订阅分享页面及相关搜索功能

This commit is contained in:
jxxghp
2025-07-18 11:05:05 +08:00
parent 76b9a8d9e7
commit 7546da4f90
7 changed files with 83 additions and 0 deletions

View File

@@ -28,6 +28,18 @@ const page = ref(1)
// 搜索关键字
const keyword = ref(props.keyword)
// 监听 props.keyword 变化
watch(
() => props.keyword,
newKeyword => {
keyword.value = newKeyword || ''
// 重置页码和数据
page.value = 1
dataList.value = []
isRefreshed.value = false
},
)
// 是否加载中
const loading = ref(false)