src/views/home/components/textBox.vue
@@ -4,7 +4,7 @@ <path :d="createRoundRectPath(84, 30, 6)" stroke="none" fill="#F69F40" :fill="alarm ? '#FF3801' : '#F69F40'" /> <!-- 绘制标题 --> @@ -24,6 +24,10 @@ return [0, 0]; }, }, alarm: { type: Boolean, default: false, }, }, computed: {}, data() {