CN-1173 fix: 检测功能UI开发与接口对接

This commit is contained in:
刘洪洪
2023-10-16 17:53:46 +08:00
parent 85db8cd745
commit 0e82bebaac
19 changed files with 725 additions and 437 deletions

View File

@@ -1320,9 +1320,9 @@ export function numberWithCommas (num) {
export function switchStatus (status) {
switch (status) {
case 0:
return 'Disabled'
return 'detection.create.disabled'
case 1:
return 'Enabled'
return 'detection.create.enabled'
}
}