fix(测试跟踪): 修复批量更新用例后最近的用例列表未刷新的问题

This commit is contained in:
shiziyuan9527 2020-10-23 15:56:48 +08:00
parent 042f43d9da
commit 6beacb8b05
1 changed files with 3 additions and 0 deletions

View File

@ -39,6 +39,7 @@
<script> <script>
import MsDialogFooter from "../../../common/components/MsDialogFooter"; import MsDialogFooter from "../../../common/components/MsDialogFooter";
import {TrackEvent,LIST_CHANGE} from "@/business/components/common/head/ListEvent";
export default { export default {
name: "BatchMove", name: "BatchMove",
@ -85,6 +86,8 @@
this.result = this.$post('/test/case/batch/edit', param, () => { this.result = this.$post('/test/case/batch/edit', param, () => {
this.$success(this.$t('commons.save_success')); this.$success(this.$t('commons.save_success'));
this.close(); this.close();
// 广 head
TrackEvent.$emit(LIST_CHANGE);
this.$emit('refresh'); this.$emit('refresh');
}); });
}, },