提交 8c10f3d5 编写于 作者: C chenjianxing

refactor: 初始化vuex清除projectId

上级 f80f6c74
......@@ -64,6 +64,7 @@ export default {
},
methods: {
init: function () {
this.$store.commit('setProjectId', undefined);
if (hasRoles(ROLE_TEST_VIEWER, ROLE_TEST_USER, ROLE_TEST_MANAGER)) {
this.result = this.$get("/project/listAll", response => {
this.items = response.data;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册