fix: 完善单测demo(第三方库)

This commit is contained in:
chenjinsong
2023-01-30 17:54:24 +08:00
parent 6756812c34
commit 6ee5ea6f6e
2 changed files with 8 additions and 4 deletions

View File

@@ -12,8 +12,8 @@
>
<template v-for="(item, index) in tableTitles" :key="index">
<el-table-column>
<template #default="scope" :column="item">
{{scope.row[item.prop]}}
<template #default="scope" :column="item">
<span :test-id="`${item.prop}${scope.$index}`">{{scope.row[item.prop]}}</span>
</template>
</el-table-column>
</template>