上传公寓收藏和公寓附近房源

This commit is contained in:
A1300399510
2024-04-17 18:40:28 +08:00
parent 5a4e6e79cd
commit a1ec98685e
31 changed files with 526 additions and 309 deletions

View File

@@ -107,7 +107,7 @@ const getData = () => {
requestLoading = true
proxy
.$get("/tenement/pc/api/apartment", {
.$post("/tenement/pc/api/apartment", {
limit: 10,
page,
...pitchValue.value,
@@ -232,7 +232,7 @@ const handlecollect = uniqid => {
api.apartmentCollection({ token }).then(res => {
if (res.code != 200) return
const data = res.data
console.log("data", data)
// console.log("data", data)
list.value[targetIndex]["iscollect"] = data.status
ElMessage.success(res.message)
})