Преглед на файлове

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();