2023-10-20

This commit is contained in:
2023-10-20 17:21:45 +08:00
parent 12ef707f64
commit bd9dabd21d
29 changed files with 1401 additions and 385 deletions

View File

@@ -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;