perf: 修改workflow链接

master
Lei OT 2 years ago
parent dafd87e973
commit e285767507

@ -18,7 +18,7 @@
<v-text-field v-model="search" label="Search" class="mx-4"></v-text-field> <v-text-field v-model="search" label="Search" class="mx-4"></v-text-field>
</template> </template>
<template v-slot:item.workflow="{ item }"> <template v-slot:item.workflow="{ item }">
<a :href="`https://github.com/${item.owner}/${item.repo}/actions?query=workflow%3A${item.workflow}`" target="_blank">{{ item.workflow }}</a> <a :href="`https://github.com/${item.owner}/${item.repo}/actions`" target="_blank">{{ item.workflow }}</a>
</template> </template>
<template v-slot:item.message="{ item }"> <template v-slot:item.message="{ item }">
<a :href="`https://github.com/${item.owner}/${item.repo}/actions/runs/${item.runId}`" target="_blank">{{ item.message }}</a> <a :href="`https://github.com/${item.owner}/${item.repo}/actions/runs/${item.runId}`" target="_blank">{{ item.message }}</a>
@ -175,7 +175,7 @@ export default {
</script> </script>
<style lang="scss"> <style lang="scss">
.v-data-table-header { .v-data-table-header {
th { th {
white-space: nowrap; white-space: nowrap;
} }
@ -184,4 +184,4 @@ export default {
min-width: 120px; min-width: 120px;
} }
} }
</style> </style>

Loading…
Cancel
Save