CN-894: 单测用例--用例更新

This commit is contained in:
刘洪洪
2023-02-27 16:01:25 +08:00
parent def8851da0
commit ee14b471a8
32 changed files with 2597 additions and 502 deletions

View File

@@ -40,7 +40,7 @@
<svg class="icon" aria-hidden="true">
<use xlink:href="#cn-icon-good"></use>
</svg>
<div class="table-no-data__title">{{ $t('npm.thereNoEvents') }}</div>
<div class="table-no-data__title" test-id="noData">{{ $t('npm.thereNoEvents') }}</div>
</div>
</template>
</el-table>
@@ -125,13 +125,13 @@ export default {
}
})
this.tableData = res.data.result
console.log('打印tableData', this.tableData)
} else {
// this.isNoData = true
this.isNoData = false
this.showError = true
this.errorMsg = res.message
}
}).catch(error => {
this.isNoData = false
this.showError = true
this.errorMsg = error.message
}).finally(() => {