fix: npm模块下文件请求做error处理

This commit is contained in:
刘洪洪
2022-11-23 17:20:37 +08:00
parent 16a255be50
commit 7d9829ae27
14 changed files with 328 additions and 136 deletions

View File

@@ -1,15 +1,15 @@
.error-component {
position: absolute;
width: 100%;
height: 100%;
//width: 100%;
//height: 100%;
left: 0;
top: 0;
}
.error-block {
display: inline-block;
width: auto;
max-width: calc(100% - 24px);
max-height: calc(100% - 24px);
//width: 100%;
//max-width: calc(100% - 24px);
//max-height: calc(100% - 24px);
//line-height: 24px;
background: #FFE7E6;
font-size: 14px;

View File

@@ -179,3 +179,6 @@
color: $grey;
}
}
.npm-app-border {
border: 1px solid #E2E5EC;
}

View File

@@ -110,4 +110,10 @@
.el-table--group::after,.el-table--border::after,.el-table::before {
height: 0px;
}
.table-error {
position: absolute;
width: 100%;
left: 0;
top: 68px;
}
}

View File

@@ -3,6 +3,7 @@
width: 100%;
height: 100%;
.npm-event-title {
display: flex;
font-size: 14px;
color: #353636;
font-weight: 600;

View File

@@ -4,6 +4,7 @@
width: 100%;
border: 1px solid #f0f0f0;
.npm-line-title {
display: flex;
font-size: 14px;
color: #353636;
font-weight: 500;
@@ -14,6 +15,7 @@
margin: 20px 20px 0 20px;
justify-content: space-between;
.npm-line-header-title {
display: flex;
font-size: 14px;
color: #353636;
font-weight: 500;