소스 검색

bugfix:
1、内容管理-文件资源、内容发布 数据统计不会立即显示,需要重新刷新网页才会显示

lihao16 5 달 전
부모
커밋
831e8870e2
2개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      smsb-plus-ui/src/views/smsb/itemPush/index.vue
  2. 2 0
      smsb-plus-ui/src/views/smsb/minioData/index.vue

+ 2 - 0
smsb-plus-ui/src/views/smsb/itemPush/index.vue

@@ -643,6 +643,7 @@ const submitForm = () => {
       proxy?.$modal.msgSuccess('操作成功');
       dialog.visible = false;
       await getList();
+      await getStatistics();
     }
   });
 };
@@ -654,6 +655,7 @@ const handleDelete = async (row?: ItemPushVO) => {
   await delItemPush(_ids);
   proxy?.$modal.msgSuccess('删除成功');
   await getList();
+  await getStatistics();
 };
 
 const handleReview = async (row?: ItemPushVO) => {

+ 2 - 0
smsb-plus-ui/src/views/smsb/minioData/index.vue

@@ -522,6 +522,7 @@ const handleDelete = async (row?: MinioDataVO) => {
   await delMinioData(_ids);
   proxy?.$modal.msgSuccess('删除成功');
   await getList();
+  await getFileStatistics();
 };
 
 /** 导出按钮操作 */
@@ -545,6 +546,7 @@ const getFileStatistics = async () => {
 watch(() => dialog.visible, (newValue) => {
   if (!newValue) {
     getList();
+    getFileStatistics();
   }
 });
 onMounted(() => {