refactor: ♻️ 样式优化 (#215)

[skip ci]

Co-authored-by: tk <fiyne1a@dingtalk.com>
This commit is contained in:
nsnail 2024-11-22 18:12:03 +08:00 committed by GitHub
parent 81d9b0b3bb
commit 2f16efd291
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 14 additions and 6 deletions

View File

@ -30,6 +30,9 @@ export default {
emits: ['click'],
methods: {
async click(id) {
if (!this.clickOpenDialog) {
return
}
this.dialog.save = true
await this.$nextTick()
await this.$refs.saveDialog.open({ mode: 'view', row: { id: id } })
@ -40,7 +43,9 @@ export default {
},
},
mounted() {},
props: {},
props: {
clickOpenDialog: { type: Boolean, default: true },
},
watch: {},
}
</script>

View File

@ -579,12 +579,15 @@ textarea {
}
}
.sc-statistic-error a {
font-size: inherit;
font-weight: inherit;
color: var(--el-color-danger) !important;
.sc-statistic-error {
a,
.sc-statistic-content-value {
font-size: inherit;
font-weight: bold;
color: var(--el-color-danger) !important;
}
&:after {
a:after {
border-bottom: 1px solid var(--el-color-danger) !important;
bottom: 0;
content: '';