添加改变部门指标颜色的代码
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<el-progress
|
||||
type="circle"
|
||||
:percentage="ui.percentage"
|
||||
status="success"
|
||||
:status="ui.color"
|
||||
>
|
||||
<template #default>
|
||||
<span class="percentage-label">{{ ui.indicator }}</span>
|
||||
@@ -36,6 +36,10 @@ export default {
|
||||
type: String,
|
||||
default: "",
|
||||
},
|
||||
color: {
|
||||
type: String,
|
||||
default: "success",
|
||||
},
|
||||
},
|
||||
setup( props )
|
||||
{
|
||||
@@ -44,6 +48,7 @@ export default {
|
||||
const ui = reactive({
|
||||
percentage,
|
||||
indicator: props.indicator,
|
||||
color: props.color,
|
||||
});
|
||||
|
||||
return { ui, };
|
||||
|
Reference in New Issue
Block a user