fix
This commit is contained in:
@@ -111,9 +111,10 @@ export default defineComponent({
|
||||
let setReadStatus = (value:any)=>{
|
||||
return new Promise((resolve,reject)=>{
|
||||
if(value.isRead == 1)return reject('')
|
||||
let id = value.senderId?value.senderId:value.id
|
||||
let data = {
|
||||
type:accountMessage.activeKey,
|
||||
notificationIdList:value.id
|
||||
notificationIdList:id
|
||||
}
|
||||
Https.axiosPost(Https.httpUrls.setReadStatus,'',{params:data}).then((rv)=>{
|
||||
if(rv){
|
||||
@@ -143,9 +144,9 @@ export default defineComponent({
|
||||
return new Promise((resolve,reject)=>{
|
||||
data.type = accountMessage.activeKey
|
||||
let url = Https.httpUrls.getHistoryNotification
|
||||
if(data.type == 'follow'){
|
||||
url = Https.httpUrls.porfolioGetFollowerList
|
||||
}
|
||||
// if(data.type == 'follow'){
|
||||
// url = Https.httpUrls.porfolioGetFollowerList
|
||||
// }
|
||||
Https.axiosPost(url,data).then((rv)=>{
|
||||
if(rv){
|
||||
// domRefs[data.type][0].setmessageList(rv,data)
|
||||
|
||||
Reference in New Issue
Block a user