瀏覽代碼

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

lihao16 5 月之前
父節點
當前提交
3bc0993676
共有 1 個文件被更改,包括 6 次插入1 次删除
  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();