上传公寓收藏和公寓附近房源
This commit is contained in:
@@ -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)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user