refactor: update icon usage to use mdi imports for consistency
This commit is contained in:
@@ -48,6 +48,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { mdiSchool } from '@mdi/js'
|
||||
import { ref } from 'vue'
|
||||
import AnalysisBarChart from './base/analysis/AnalysisBarChart.vue'
|
||||
import AnalysisDonutChart from './base/analysis/AnalysisDonutChart.vue'
|
||||
@@ -102,7 +103,7 @@ const props = defineProps({
|
||||
},
|
||||
pie2Data: {
|
||||
type: Object as () => DonutData,
|
||||
default: () => ({ value: 65, label: '及格率', color: 'success', icon: 'mdi-school' }),
|
||||
default: () => ({ value: 65, label: '及格率', color: 'success', icon: mdiSchool }),
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user