This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
cyber-narrator-cn-ui/src/components/charts/ChartMap.vue

43 lines
831 B
Vue
Raw Normal View History

2021-06-24 17:59:51 +08:00
<template>
<div class="cn-chart cn-chart__map">
<div class="cn-chart__header chart-header-position" >
<slot name="chartErrorInfo"></slot>
<div class="header__title chart-title-width" >
2021-06-24 17:59:51 +08:00
<slot name="title"></slot>
</div>
<div class="header__operations">
<slot name="operations"></slot>
</div>
</div>
<div class="cn-chart__body">
2021-06-24 17:59:51 +08:00
<slot></slot>
</div>
<div class="chart__loading" v-show="loading">
2021-09-07 11:38:06 +08:00
<i class="el-icon-loading"></i>
</div>
2021-06-24 17:59:51 +08:00
<div class="cn-chart__footer">
<slot name="footer"></slot>
</div>
</div>
</template>
<script>
export default {
2021-08-11 22:14:23 +08:00
name: 'ChartMap',
props: {
loading: Boolean
},
data () {
return {
errorContent: '出错了。。。',
2021-08-26 17:14:51 +08:00
isError: true
}
2021-08-11 22:14:23 +08:00
}
2021-06-24 17:59:51 +08:00
}
</script>
<style>
</style>