fix: 修复error组件在npm模块下异位的问题
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
//width: 100%;
|
//width: 100%;
|
||||||
//height: 100%;
|
//height: 100%;
|
||||||
left: 0;
|
left: 0;
|
||||||
//top: 0;
|
top: 0;
|
||||||
}
|
}
|
||||||
.error-block {
|
.error-block {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|||||||
@@ -19,7 +19,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="npm-traffic-line-body">
|
<div class="npm-traffic-line-body">
|
||||||
<chart-error v-if="showError" :content="errorMsg" />
|
<div style="position: absolute;">
|
||||||
|
<chart-error v-if="showError" :content="errorMsg" />
|
||||||
|
</div>
|
||||||
<chart-no-data v-if="isNoData && !showError"></chart-no-data>
|
<chart-no-data v-if="isNoData && !showError"></chart-no-data>
|
||||||
<div v-show="!isNoData && !showError" class="chart-drawing" id="chart-line"></div>
|
<div v-show="!isNoData && !showError" class="chart-drawing" id="chart-line"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user