mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Fixed basic demo in metergroup
This commit is contained in:
parent
9fd2a715b7
commit
0d5ced3869
2 changed files with 4 additions and 4 deletions
|
@ -12,7 +12,7 @@
|
|||
export default {
|
||||
data() {
|
||||
return {
|
||||
value: [{ label: 'Space used', value: 15 }],
|
||||
value: [{ label: 'Space used', value: 15, color: 'var(--p-primary-color)' }],
|
||||
code: {
|
||||
basic: `
|
||||
<MeterGroup :value="value" />
|
||||
|
@ -28,7 +28,7 @@ export default {
|
|||
export default {
|
||||
data() {
|
||||
return {
|
||||
value: [{ label: 'Space used', value: 15 }],
|
||||
value: [{ label: 'Space used', value: 15, color: 'var(--p-primary-color)' }],
|
||||
};
|
||||
}
|
||||
};
|
||||
|
@ -44,7 +44,7 @@ export default {
|
|||
<script setup>
|
||||
import { ref } from "vue";
|
||||
|
||||
const value = ref([{ label: 'Space used', value: 15 }]);
|
||||
const value = ref([{ label: 'Space used', value: 15, color: 'var(--p-primary-color)' }]);
|
||||
<\/script>
|
||||
`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue