This commit is contained in:
lai
2024-01-26 14:44:20 +08:00
3 changed files with 20 additions and 3 deletions

View File

@@ -329,7 +329,7 @@ function stateCode(res: Response) {
};
}
// 上传文件成功无内容返回
if (res.status === 204 && res.statusText === 'No Content') {
if (res.status === 204 || res.statusText === 'No Content') {
return {
code: RESULT_CODE_SUCCESS,
msg: RESULT_MSG_SUCCESS[language],

View File

@@ -97,6 +97,23 @@ onMounted(() => {
overflow-y: auto;
height: 70%;
/* 修改滚动条的样式 */
&::-webkit-scrollbar {
width: 8px; /* 设置滚动条宽度 */
}
&::-webkit-scrollbar-track {
background-color: #101129; /* 设置滚动条轨道背景颜色 */
}
&::-webkit-scrollbar-thumb {
background-color: #28293f; /* 设置滚动条滑块颜色 */
}
&::-webkit-scrollbar-thumb:hover {
background-color: #68d8fe; /* 设置鼠标悬停时滚动条滑块颜色 */
}
& .row {
line-height: 1.05;
padding: 0.5rem 1.5rem;

View File

@@ -3,7 +3,7 @@ import { onMounted, reactive, ref } from 'vue';
import useI18n from '@/hooks/useI18n';
import Topology from './components/Topology/index.vue';
import NeResources from './components/NeResources/index.vue';
import CDR from './components/CDR/index.vue';
import CDREvent from './components/CDREvent/index.vue';
import AlarnDayLine from './components/AlarnDayLine/index.vue';
import AlarnTypeBar from './components/AlarnTypeBar/index.vue';
import UPFFlow from './components/UPFFlow/index.vue';
@@ -198,7 +198,7 @@ onMounted(() => {
<WhatsAppOutlined style="color: #d93f36" />&nbsp;&nbsp; 会话监控
</h3>
<div class="chart">
<CDR />
<CDREvent />
</div>
</div>
</div>