|
@@ -391,7 +391,7 @@ function handleRead(row) {
|
|
|
proxy.$modal.confirm('是否确认将消息状态设置为已读?')
|
|
|
.then(() => MessageSetRead(_equityMessageIds)) // 调用API
|
|
|
.then(() => {
|
|
|
- sidebarStore.getOnList()
|
|
|
+ // sidebarStore.getOnList()
|
|
|
proxy.$modal.msgSuccess("设置成功");
|
|
|
getList();
|
|
|
})
|
|
@@ -412,7 +412,7 @@ const handleCellClick = (row, column) => {
|
|
|
MessageSetRead(row.equityMessageId)
|
|
|
.then(response => {
|
|
|
proxy.$modal.msgSuccess("消息已标记为已读");
|
|
|
- sidebarStore.getOnList()
|
|
|
+ // sidebarStore.getOnList()
|
|
|
row.isRead = '1'; // 前端同步更新状态,防止重复调用
|
|
|
})
|
|
|
.catch(error => {
|
|
@@ -445,7 +445,6 @@ const cellStyle = ({ row, column, rowIndex, columnIndex }) => {
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
getList();
|
|
|
</script>
|
|
|
<style scoped>
|