2023-10-20
This commit is contained in:
@@ -129,7 +129,7 @@ export default defineComponent({
|
||||
this.createTimer()
|
||||
},
|
||||
getBloodBars(){
|
||||
Https.axiosGet(Https.httpUrls.getBloodBars,{params:{userId:this.userInfo.userId}}).then((rv: any) => {
|
||||
Https.axiosGet(Https.httpUrls.getBloodBars,{params:{userId:this?.userInfo?.userId}}).then((rv: any) => {
|
||||
if (rv) {
|
||||
this.bloodBars = rv*100
|
||||
}
|
||||
@@ -175,7 +175,7 @@ export default defineComponent({
|
||||
// sessionStorage.removeItem
|
||||
let a = true
|
||||
let data = {
|
||||
"user_id" : this.userInfo.userId,
|
||||
"user_id" : this.userInfo?.userId,
|
||||
"session_id":sessionId,
|
||||
"message" : this.chatCentent,
|
||||
}
|
||||
@@ -221,7 +221,7 @@ export default defineComponent({
|
||||
likeFile(item:any,imgIndex:number,index:number){
|
||||
let data = {
|
||||
...item,
|
||||
"userId" : this.userInfo.userId,
|
||||
"userId" : this.userInfo?.userId,
|
||||
}
|
||||
Https.axiosPost(Https.httpUrls.pictureLikeOrUnLike, data).then(
|
||||
(rv) => {
|
||||
@@ -401,7 +401,7 @@ export default defineComponent({
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 5px 10px;
|
||||
padding: .5rem 1rem;
|
||||
background: #fff;
|
||||
border-radius: 5px;
|
||||
// height: 32px;
|
||||
|
||||
Reference in New Issue
Block a user