Browse Source

bugfix:
1、内容发布-下架-下架后操作状态未实时更新,需要刷新网页

lihao16 5 tháng trước cách đây
mục cha
commit
3bc0993676
1 tập tin đã thay đổi với 6 bổ sung1 xóa
  1. 6 1
      smsb-plus-ui/src/views/smsb/itemPush/index.vue

+ 6 - 1
smsb-plus-ui/src/views/smsb/itemPush/index.vue

@@ -684,7 +684,12 @@ const handleExport = () => {
     `itemPush_${new Date().getTime()}.xlsx`
   );
 };
-
+watch(() => deviceDialog.visible, (newValue) => {
+  if (!newValue) {
+    getList();
+    getStatistics();
+  }
+});
 onMounted(() => {
   getList();
   getStatistics();