|
@@ -33,7 +33,7 @@
|
|
|
编辑公告
|
|
|
</div>
|
|
|
<div class="p-item" @click="onOperation(item, 'top', index)">
|
|
|
- {{item.topFlag ? '取消置顶': '设为置顶'}}
|
|
|
+ {{item.isTop ? '取消置顶': '设为置顶'}}
|
|
|
</div>
|
|
|
<div
|
|
|
class="p-item p-red"
|
|
@@ -242,10 +242,11 @@ const ManageNotification = defineComponent({
|
|
|
data.page = 1;
|
|
|
data.groupList = [];
|
|
|
TUIMessage({
|
|
|
- message: item.topFlag ? '取消置顶成功' : '设为置顶成功',
|
|
|
+ message: item.isTop ? '取消置顶成功' : '设为置顶成功',
|
|
|
isH5: false,
|
|
|
type: "success",
|
|
|
});
|
|
|
+ getNotification();
|
|
|
} else if (type === "delete") {
|
|
|
await imGroupNoticeRemove({
|
|
|
id: item.id,
|