fix: 增加tag组件兼容性; 调整steps样式
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<div class="tag-style">
|
||||
<el-tag v-if="tagConfig.isType" :type="tagConfig.listClass" :effect="tagConfig.theme || 'plain'">
|
||||
<el-tag v-if="tagConfig?.isType" :type="tagConfig?.listClass" :effect="tagConfig?.theme || 'plain'">
|
||||
{{ filterDict(cacheStore.getDict(dictType), value) }}
|
||||
</el-tag>
|
||||
<el-tag v-else :color="tagConfig.listClass" :effect="tagConfig.theme || 'plain'"
|
||||
<el-tag v-else :color="tagConfig?.listClass" :effect="tagConfig?.theme || 'plain'"
|
||||
:class="{'null-tag':filterDict(cacheStore.getDict(dictType), value)===undefined}">
|
||||
{{ filterDict(cacheStore.getDict(dictType), value) }}
|
||||
</el-tag>
|
||||
|
||||
@@ -334,4 +334,10 @@ watchEffect(() => {
|
||||
.is-end {
|
||||
color: #BEA266;
|
||||
}
|
||||
:deep(.el-step__title.is-success) {
|
||||
color: #A8abb2;
|
||||
}
|
||||
:deep(.el-step__head.is-success) {
|
||||
border-color: #A8abb2;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -217,6 +217,7 @@ filterColumns()
|
||||
const getList = async () => {
|
||||
const {api, params} = props.tableConfig
|
||||
const queryParmas = {...localData.query, ...params}
|
||||
console.log("🚀 ~ getList ~ queryParmas:", queryParmas)
|
||||
if (api) {
|
||||
localData.loading = true
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user