style: 格式化代码
This commit is contained in:
@@ -41,8 +41,8 @@ const columns: TableColumn[] = [
|
||||
cellValue === 1
|
||||
? t('tableDemo.important')
|
||||
: cellValue === 2
|
||||
? t('tableDemo.good')
|
||||
: t('tableDemo.commonly')
|
||||
? t('tableDemo.good')
|
||||
: t('tableDemo.commonly')
|
||||
)
|
||||
}
|
||||
},
|
||||
|
||||
@@ -40,8 +40,8 @@ const columns: TableColumn[] = [
|
||||
{cellValue === 1
|
||||
? t('tableDemo.important')
|
||||
: cellValue === 2
|
||||
? t('tableDemo.good')
|
||||
: t('tableDemo.commonly')}
|
||||
? t('tableDemo.good')
|
||||
: t('tableDemo.commonly')}
|
||||
</ElTag>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -59,8 +59,8 @@ const columns = reactive<TableColumn[]>([
|
||||
{cellValue === 1
|
||||
? t('tableDemo.important')
|
||||
: cellValue === 2
|
||||
? t('tableDemo.good')
|
||||
: t('tableDemo.commonly')}
|
||||
? t('tableDemo.good')
|
||||
: t('tableDemo.commonly')}
|
||||
</ElTag>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -82,8 +82,8 @@ const columns = reactive<TableColumn[]>([
|
||||
{cellValue === 1
|
||||
? t('tableDemo.important')
|
||||
: cellValue === 2
|
||||
? t('tableDemo.good')
|
||||
: t('tableDemo.commonly')}
|
||||
? t('tableDemo.good')
|
||||
: t('tableDemo.commonly')}
|
||||
</ElTag>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -151,8 +151,8 @@ const crudSchemas = reactive<CrudSchema[]>([
|
||||
{data.importance === 1
|
||||
? t('tableDemo.important')
|
||||
: data.importance === 2
|
||||
? t('tableDemo.good')
|
||||
: t('tableDemo.commonly')}
|
||||
? t('tableDemo.good')
|
||||
: t('tableDemo.commonly')}
|
||||
</ElTag>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -168,8 +168,8 @@ const crudSchemas = reactive<CrudSchema[]>([
|
||||
{data.importance === 1
|
||||
? t('tableDemo.important')
|
||||
: data.importance === 2
|
||||
? t('tableDemo.good')
|
||||
: t('tableDemo.commonly')}
|
||||
? t('tableDemo.good')
|
||||
: t('tableDemo.commonly')}
|
||||
</ElTag>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -40,8 +40,8 @@ const schema = reactive<DescriptionsSchema[]>([
|
||||
{data.importance === 1
|
||||
? t('tableDemo.important')
|
||||
: data.importance === 2
|
||||
? t('tableDemo.good')
|
||||
: t('tableDemo.commonly')}
|
||||
? t('tableDemo.good')
|
||||
: t('tableDemo.commonly')}
|
||||
</ElTag>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user