合并代码
This commit is contained in:
@@ -417,7 +417,9 @@ const loadMore = () => {
|
||||
const getUserPoints = async () => {
|
||||
try {
|
||||
const {data} = await api.get('/user/points')
|
||||
userPoints.value = data.data.points
|
||||
console.log(data,'points');
|
||||
|
||||
userPoints.value = data.points
|
||||
} catch (error) {
|
||||
console.error('获取用户积分失败:', error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user