fix: 修正npm-dashboard的tab的活动条的偏差
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
></network-overview-tabs>
|
||||
<npm-tabs
|
||||
v-else-if="chart.type === typeMapping.npm.npmTabs"
|
||||
@tabChange="index => $emit('tabChange', index)"
|
||||
@tabChange="npmTabChange"
|
||||
></npm-tabs>
|
||||
<npm-network-quantity
|
||||
v-else-if="chart.type === typeMapping.npm.npmNetworkQuantity"
|
||||
@@ -59,6 +59,11 @@ export default {
|
||||
loading: false,
|
||||
isNoData: false
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
npmTabChange (index) {
|
||||
this.$emit('npmTabChange', index)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user