xiangpei
2024-05-17 3d141edcebc2ae742ff553a5cc20a0060ef0cb75
删除学习数据后刷新列表
1个文件已修改
2 ■■■ 已修改文件
src/views/onlineStudy/file.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
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()
        }
      });
    },