no message

This commit is contained in:
A1300399510
2024-01-25 19:29:12 +08:00
parent 89020a40b7
commit bd7c792cbe
970 changed files with 119575 additions and 101 deletions

View File

@@ -72,10 +72,6 @@ watchEffect(() => {
keyword.value = route.query["keyword"]
})
// 点击跳转首页
// const goIndex = () => {
// // router.push(`/index.html`)
// }
// 点击发布
const goPublish = () => {
if (isNeedLogin.value) {
@@ -107,8 +103,10 @@ const setHistoricalSearchList = () => {
// 搜索点击事件
const searchClick = () => {
// router.push(`/index.html?keyword=${keyword.value || ""}`)
goToURL(`/index.html?keyword=${keyword.value || ""}`, false)
// 在首页页面 搜索 直接跳转 其他页面需要打开新页面
if (route.name == "index.html") router.push(`/index.html?keyword=${keyword.value || ""}`)
else goToURL(`/index.html?keyword=${keyword.value || ""}`, false)
setHistoricalSearchList()
searchBlur()
}