no message
This commit is contained in:
14
app.vue
14
app.vue
@@ -632,7 +632,6 @@ export default {
|
||||
getDetails(params["uniqid"])
|
||||
}
|
||||
|
||||
// console.log(params);
|
||||
// getDetails(params.uniqid)
|
||||
// 是否直接打开提问
|
||||
setTimeout(() => {
|
||||
@@ -722,7 +721,6 @@ export default {
|
||||
$ajax("/api/user").then(res => {
|
||||
if (res.code != 200) return
|
||||
let data = res.data
|
||||
console.log("data", data)
|
||||
|
||||
myCount.value = data.count
|
||||
handleMy(key)
|
||||
@@ -940,7 +938,6 @@ export default {
|
||||
return
|
||||
}
|
||||
let data = res.data
|
||||
// console.log("data", data)
|
||||
|
||||
data["info"]["uniqid"] = uniqid
|
||||
detailsInfo.value = data["info"] || {}
|
||||
@@ -999,7 +996,7 @@ export default {
|
||||
})
|
||||
}
|
||||
|
||||
const calculateListIndex = (info, uniqid) => {
|
||||
const calculateListIndex = (info, uniqid) => {
|
||||
let targetList = [...list.value]
|
||||
if (targetList.length == 0 && isSearchMode.value == false && myModelState.value == false) {
|
||||
setTimeout(() => calculateListIndex(info, uniqid), 200)
|
||||
@@ -1014,8 +1011,6 @@ export default {
|
||||
}
|
||||
})
|
||||
|
||||
// console.log("valve", valve)
|
||||
|
||||
if (!valve) {
|
||||
let content = ""
|
||||
if (info?.["content"]?.indexOf("<img") == -1) content = info["content"]
|
||||
@@ -1032,7 +1027,7 @@ export default {
|
||||
}
|
||||
|
||||
list.value.unshift(obj)
|
||||
if (!myModelState.value) backupsList.unshift(obj)
|
||||
// if (!myModelState.value) backupsList.unshift(obj)
|
||||
|
||||
cut(0)
|
||||
}
|
||||
@@ -1975,7 +1970,6 @@ export default {
|
||||
|
||||
// 处理插入推荐数据
|
||||
const handleInsertRelatedlist = uniqid => {
|
||||
|
||||
if (myModelState.value) return
|
||||
|
||||
// 计算需要插入元素的数量
|
||||
@@ -2026,15 +2020,14 @@ export default {
|
||||
const params = route.query
|
||||
if (params["keyword"]) keyword.value = params["keyword"]
|
||||
if (params["tid"]) typePitch.value = params["tid"]
|
||||
// console.log(process.server)
|
||||
|
||||
|
||||
// if (process.server && params["uniqid"]) {
|
||||
// await axios
|
||||
// .post(baseURL + "/api/details", { uniqid: params["uniqid"] })
|
||||
// .then(response => {
|
||||
// let res = response.data
|
||||
// let data = res.data
|
||||
// console.log("data", data)
|
||||
|
||||
// data["info"]["uniqid"] = params["uniqid"]
|
||||
// detailsInfoDataVuex.value = data
|
||||
@@ -2211,7 +2204,6 @@ export default {
|
||||
|
||||
// 点击ta的主页
|
||||
const TAHomePage = uin => {
|
||||
console.log("uin", uin)
|
||||
redirectToExternalWebsite(`https://bbs.gter.net/home.php?mod=space&uid=${uin}`)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user