fix(测试跟踪): 修复批量更新用例后最近的用例列表未刷新的问题
This commit is contained in:
parent
042f43d9da
commit
6beacb8b05
|
@ -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');
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue