提交
This commit is contained in:
@@ -97,18 +97,18 @@
|
||||
|
||||
<script setup>
|
||||
import pageTopBar from '../components/pageTopBar/pageTopBar.vue';
|
||||
import headerNav from '@/components/public/head.vue'
|
||||
import systematicNotificationPop from '@/components/user/systematic-notification-pop.vue'
|
||||
import haveQuestions from '@/components/public/have-questions.vue'
|
||||
import pageFooter from '@/components/footer/footer.vue'
|
||||
import biserialListItem from '@/components/biserialListItem/biserialListItem.vue'
|
||||
import publicListItem from '@/components/public/public-list-item.vue'
|
||||
import emptyDuck from '@/components/public/empty-duck.vue'
|
||||
import { ref, reactive, onMounted, onUnmounted, getCurrentInstance, nextTick } from 'vue'
|
||||
const { proxy } = getCurrentInstance()
|
||||
import { useRouter } from 'vue-router';
|
||||
|
||||
import { ElLoading, ElMessage } from 'element-plus'
|
||||
import Masonry from 'masonry-layout';
|
||||
|
||||
const { proxy } = getCurrentInstance()
|
||||
|
||||
|
||||
const gridContainer = ref(null);
|
||||
@@ -145,7 +145,7 @@ const identityObj = {
|
||||
}
|
||||
|
||||
const init = () => {
|
||||
proxy.$post("/tenement/v2/api/user").then(res => {
|
||||
proxy.$post("/tenement/pc/api/user").then(res => {
|
||||
if (res.code != 200) return
|
||||
let data = res.data
|
||||
|
||||
@@ -164,6 +164,7 @@ const init = () => {
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
let loading = ElLoading.service({
|
||||
lock: true,
|
||||
text: 'Loading',
|
||||
@@ -243,7 +244,7 @@ const cutTab = (value) => {
|
||||
|
||||
// 取消收藏
|
||||
let cancelCollection = data => {
|
||||
proxy.$post("/tenement/relation/operation", {
|
||||
proxy.$post("/tenement/pc/api/user/operation", {
|
||||
token: data['token']
|
||||
}).then(res => {
|
||||
if (res.code != 200) return
|
||||
@@ -521,4 +522,5 @@ onUnmounted(() => {
|
||||
align-items: center;
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user