feat:ComponentInternalInstance 类型适配

This commit is contained in:
chenjianglong
2024-01-21 17:57:39 +08:00
parent f12c685456
commit 6d2db98549
30 changed files with 64 additions and 50 deletions

View File

@@ -16,7 +16,7 @@
required: true,
},
});
const { proxy } = getCurrentInstance() as any;
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
const dataList = ref<DataRecord[]>([]);
const colors = ref(['primary', 'success', 'warning', 'error', 'default']);
const total = ref(0);