diff --git a/src/views/spongePerformance/mainIndex/index.vue b/src/views/spongePerformance/mainIndex/index.vue index 7be897f..1f561b8 100644 --- a/src/views/spongePerformance/mainIndex/index.vue +++ b/src/views/spongePerformance/mainIndex/index.vue @@ -272,6 +272,7 @@ import centerRight from './centerRight'; import { LeftFoot, footRightTopRef, rightTopRef, footCenterRef, columnList, columnList1, fourList } from './chart'; import { three_year_statics, performanceEvaluateItem } from '@/api/spongePerformance/home'; +const { proxy } = getCurrentInstance(); const isChart1 = ref(false); const clickList = ref({}); const tableData = ref([]); @@ -291,6 +292,7 @@ function TopClick(v) { // console.log(v.year, 'v.year'); if (v.year == 2024) { + proxy.$modal.msgWarning('请添加2024年数据'); return; } if (v.year) {