fix: project-query和metric preview里添加图表后顶部菜单高亮状态改变

This commit is contained in:
陈劲松
2020-02-11 11:30:56 +08:00
parent 8a63c091e1
commit ad78583ccc
5 changed files with 20 additions and 11 deletions

View File

@@ -176,6 +176,7 @@
</template>
<script>
import bus from "../../../libs/bus";
export default {
name: "asset",
data() {
@@ -467,6 +468,7 @@
},
jumpToAlertMsg(assetId) {
this.$store.commit('assetForAlertListChange', assetId);
bus.$emit("menu-change", 'alertList');
this.$router.push({
path: "/alertList",
query: {