From 3d141edcebc2ae742ff553a5cc20a0060ef0cb75 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期五, 17 五月 2024 19:07:16 +0800
Subject: [PATCH] 删除学习数据后刷新列表
---
src/views/onlineStudy/file.vue | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/views/onlineStudy/file.vue b/src/views/onlineStudy/file.vue
index acc2047..bb7a417 100644
--- a/src/views/onlineStudy/file.vue
+++ b/src/views/onlineStudy/file.vue
@@ -54,7 +54,6 @@
<template slot-scope="scope">
<el-button @click="handleUpdate(scope.row)" type="primary" size="small"
style="margin-right: 5px">淇敼</el-button>
-
<el-popconfirm :title="getTitle(scope.row.typeName)" @confirm="remove(scope.row.id)">
<el-button slot="reference" type="danger" size="small">鍒犻櫎</el-button>
</el-popconfirm>
@@ -207,6 +206,7 @@
OnlineStudyAPI.remove([id]).then(res => {
if (res.code === 1) {
this.$message.success('鍒犻櫎鎴愬姛');
+ this.page()
}
});
},
--
Gitblit v1.8.0