mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-12-28 08:57:17 +08:00
fix: 修复前端控制台 eslint 告警
This commit is contained in:
@@ -159,7 +159,7 @@ setupMock({
|
||||
qualityInspectionList.map((_, index) => ({
|
||||
...qualityInspectionList[index % qualityInspectionList.length],
|
||||
id: Mock.Random.guid(),
|
||||
}))
|
||||
})),
|
||||
);
|
||||
});
|
||||
|
||||
@@ -169,7 +169,7 @@ setupMock({
|
||||
theServiceList.map((_, index) => ({
|
||||
...theServiceList[index % theServiceList.length],
|
||||
id: Mock.Random.guid(),
|
||||
}))
|
||||
})),
|
||||
);
|
||||
});
|
||||
|
||||
@@ -179,7 +179,7 @@ setupMock({
|
||||
rulesPresetList.map((_, index) => ({
|
||||
...rulesPresetList[index % rulesPresetList.length],
|
||||
id: Mock.Random.guid(),
|
||||
}))
|
||||
})),
|
||||
);
|
||||
});
|
||||
},
|
||||
|
||||
@@ -48,7 +48,7 @@ setupMock({
|
||||
{ name: '视频类', value: 40, itemStyle: { color: '#00B2FF' } },
|
||||
],
|
||||
});
|
||||
}
|
||||
},
|
||||
);
|
||||
|
||||
Mock.mock(new RegExp('/api/content-period-analysis'), () => {
|
||||
|
||||
@@ -198,7 +198,9 @@
|
||||
|
||||
.btn {
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 0 0 1px #05f, 0 2px 1px rgba(0, 0, 0, 0.15);
|
||||
box-shadow:
|
||||
0 0 0 1px #05f,
|
||||
0 2px 1px rgba(0, 0, 0, 0.15);
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
height: 40px;
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
captchaLoading.value = false;
|
||||
captchaDisable.value = true;
|
||||
captchaBtnNameKey.value = `${t(
|
||||
'login.captcha.get'
|
||||
'login.captcha.get',
|
||||
)}(${(captchaTime.value -= 1)}s)`;
|
||||
captchaTimer.value = window.setInterval(() => {
|
||||
captchaTime.value -= 1;
|
||||
@@ -197,7 +197,9 @@
|
||||
|
||||
.btn {
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 0 0 1px #05f, 0 2px 1px rgba(0, 0, 0, 0.15);
|
||||
box-shadow:
|
||||
0 0 0 1px #05f,
|
||||
0 2px 1px rgba(0, 0, 0, 0.15);
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
height: 40px;
|
||||
|
||||
@@ -109,7 +109,7 @@
|
||||
captchaLoading.value = false;
|
||||
captchaDisable.value = true;
|
||||
captchaBtnNameKey.value = `${t(
|
||||
'login.captcha.get'
|
||||
'login.captcha.get',
|
||||
)}(${(captchaTime.value -= 1)}s)`;
|
||||
captchaTimer.value = window.setInterval(() => {
|
||||
captchaTime.value -= 1;
|
||||
@@ -208,7 +208,9 @@
|
||||
|
||||
.btn {
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 0 0 1px #05f, 0 2px 1px rgba(0, 0, 0, 0.15);
|
||||
box-shadow:
|
||||
0 0 0 1px #05f,
|
||||
0 2px 1px rgba(0, 0, 0, 0.15);
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
height: 40px;
|
||||
@@ -220,7 +222,8 @@
|
||||
.arco-btn-primary.arco-btn-disabled,
|
||||
.arco-btn-primary[type='submit'].arco-btn-disabled {
|
||||
background-color: var(--color-neutral-4);
|
||||
box-shadow: 0 0 0 1px var(--color-neutral-4),
|
||||
box-shadow:
|
||||
0 0 0 1px var(--color-neutral-4),
|
||||
0 2px 1px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user