perf:枚举类型替换为英文

This commit is contained in:
Xwen
2024-01-02 20:14:10 +08:00
parent ddc3579409
commit b6e8239e25
3 changed files with 9 additions and 9 deletions

View File

@@ -117,17 +117,17 @@ const Init = () => {
const statusTypeList = [
{
label: "正常",
value: 0,
value: "Normal",
type: "success",
},
{
label: "危险",
value: 1,
value: "Dangerous",
type: "warning",
},
{
label: "已禁止",
value: 2,
value: "Ban",
type: "danger",
},
];

View File

@@ -47,17 +47,17 @@ const props = defineProps({
const statusTypeList = [
{
label: "正常",
value: 0,
value: "Normal",
type: "success",
},
{
label: "危险",
value: 1,
value: "Dangerous",
type: "warning",
},
{
label: "已禁止",
value: 2,
value: "Ban",
type: "danger",
},
];

View File

@@ -45,17 +45,17 @@ const props = defineProps({
const statusTypeList = [
{
label: "正常",
value: 0,
value: "Normal",
type: "success",
},
{
label: "危险",
value: 1,
value: "Dangerous",
type: "warning",
},
{
label: "已禁止",
value: 2,
value: "Ban",
type: "danger",
},
];