CN-1173 fix: 检测功能UI开发与接口对接
This commit is contained in:
@@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user